Skip to content

Commit b2d7b3a

Browse files
committed
Remove incorrect statement about line ending content in lines doc change
1 parent 47279b3 commit b2d7b3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/core/src/str/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -843,8 +843,8 @@ impl str {
843843
/// a line feed (`\r\n`).
844844
///
845845
/// The final line ending is optional. A string that ends with a final line
846-
/// ending (carriage return or line feed) will return the same lines as an
847-
/// otherwise identical string without a final line ending.
846+
/// ending will return the same lines as an otherwise identical string
847+
/// without a final line ending.
848848
///
849849
/// # Examples
850850
///

0 commit comments

Comments
 (0)