about summary refs log tree commit diff
path: root/src/liballoc/string.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/liballoc/string.rs')
-rw-r--r--src/liballoc/string.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/liballoc/string.rs b/src/liballoc/string.rs
index 11fb82c09d3..2f84d5f7f86 100644
--- a/src/liballoc/string.rs
+++ b/src/liballoc/string.rs
@@ -1521,9 +1521,6 @@ impl String {
     /// and replaces it with the given string.
     /// The given string doesn't need to be the same length as the range.
     ///
-    /// Note: Unlike [`Vec::splice`], the replacement happens eagerly, and this
-    /// method does not return the removed chars.
-    ///
     /// # Panics
     ///
     /// Panics if the starting point or end point do not lie on a [`char`]