about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDave Rolsky <autarch@urth.org>2020-11-01 09:11:20 -0600
committerDave Rolsky <autarch@urth.org>2020-11-01 09:11:20 -0600
commitb2d7b3aa26e1821bfdfd8be8a8b65cd6e674ff04 (patch)
treeda607438dbd7097d3228fcc774d9ff61f203e71a
parent47279b33e03587e55c50eacdf710d64ff15f17fb (diff)
downloadrust-b2d7b3aa26e1821bfdfd8be8a8b65cd6e674ff04.tar.gz
rust-b2d7b3aa26e1821bfdfd8be8a8b65cd6e674ff04.zip
Remove incorrect statement about line ending content in lines doc change
-rw-r--r--library/core/src/str/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/core/src/str/mod.rs b/library/core/src/str/mod.rs
index f4e8529a58f..5658e28fbff 100644
--- a/library/core/src/str/mod.rs
+++ b/library/core/src/str/mod.rs
@@ -843,8 +843,8 @@ impl str {
     /// a line feed (`\r\n`).
     ///
     /// The final line ending is optional. A string that ends with a final line
-    /// ending (carriage return or line feed) will return the same lines as an
-    /// otherwise identical string without a final line ending.
+    /// ending will return the same lines as an otherwise identical string
+    /// without a final line ending.
     ///
     /// # Examples
     ///