From 0b1976c2c2426812f2acad60edc520b2646040e3 Mon Sep 17 00:00:00 2001
From: Steve Klabnik <steve@steveklabnik.com>
Date: Fri, 22 May 2015 15:24:56 -0400
Subject: [PATCH] Don't mention outdated methods

---
 src/libcollections/str.rs | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/libcollections/str.rs b/src/libcollections/str.rs
index b390055664b..d9a45872489 100644
--- a/src/libcollections/str.rs
+++ b/src/libcollections/str.rs
@@ -1110,9 +1110,8 @@ impl str {
     /// such as leaving a combining character as the first code point of the
     /// string.
     ///
-    /// Due to the design of UTF-8, this operation is `O(end)`. See `slice`,
-    /// `slice_to` and `slice_from` for `O(1)` variants that use byte indices
-    /// rather than code point indices.
+    /// Due to the design of UTF-8, this operation is `O(end)`. Use slicing
+    /// syntax if you want to use byte indices rather than codepoint indices.
     ///
     /// # Panics
     ///