We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ae95e5 commit 9d4b486Copy full SHA for 9d4b486
src/libcore/str/mod.rs
@@ -1161,9 +1161,13 @@ generate_pattern_iterators! {
1161
delegate double ended;
1162
}
1163
1164
-/// Created with the method [`lines`].
+/// An iterator over the lines of a string, as string slices.
1165
///
1166
-/// [`lines`]: ../../std/primitive.str.html#method.lines
+/// This struct is created with the [`lines()`] method on [`str`].
1167
+/// See its documentation for more.
1168
+///
1169
+/// [`lines()`]: ../../std/primitive.str.html#method.lines
1170
+/// [`str`]: ../../std/primitive.str.html
1171
#[stable(feature = "rust1", since = "1.0.0")]
1172
#[derive(Clone, Debug)]
1173
pub struct Lines<'a>(Map<SplitTerminator<'a, char>, LinesAnyMap>);
0 commit comments