Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Don't mention outdated methods
  • Loading branch information
steveklabnik committed May 22, 2015
1 parent 7bd3bbd commit 0b1976c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/libcollections/str.rs
Expand Up @@ -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
///
Expand Down

0 comments on commit 0b1976c

Please sign in to comment.