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 4996edc commit e628b05Copy full SHA for e628b05
library/core/src/str/mod.rs
@@ -1251,7 +1251,7 @@ impl str {
1251
/// ending will return the same lines as an otherwise identical string
1252
/// without a final line ending.
1253
///
1254
- /// An empty string returns no lines.
+ /// An empty string returns an empty iterator.
1255
1256
/// # Examples
1257
@@ -1284,7 +1284,7 @@ impl str {
1284
/// assert_eq!(None, lines.next());
1285
/// ```
1286
1287
- /// An empty string returns no lines:
+ /// An empty string returns an empty iterator:
1288
1289
1290
/// let text = "";
0 commit comments