Add suggestion for some #[deprecated] items
This commit is contained in:
@@ -993,7 +993,7 @@ impl str {
|
||||
|
||||
/// An iterator over the lines of a string.
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
#[deprecated(since = "1.4.0", note = "use lines() instead now")]
|
||||
#[deprecated(since = "1.4.0", note = "use lines() instead now", suggestion = "lines")]
|
||||
#[inline]
|
||||
#[allow(deprecated)]
|
||||
pub fn lines_any(&self) -> LinesAny<'_> {
|
||||
|
||||
Reference in New Issue
Block a user