about summary refs log tree commit diff
path: root/library/core/src
diff options
context:
space:
mode:
Diffstat (limited to 'library/core/src')
-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
     ///