Skip to content

Commit

Permalink
Improve quality of String#to_slice() deprecation message
Browse files Browse the repository at this point in the history
  • Loading branch information
steveklabnik committed Jan 21, 2015
1 parent 6ba9acd commit 29e5d8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/str/mod.rs
Expand Up @@ -1150,7 +1150,7 @@ mod traits {

/// Any string that can be represented as a slice
#[unstable = "Instead of taking this bound generically, this trait will be \
replaced with one of slicing syntax, deref coercions, or \
replaced with one of slicing syntax (&foo[]), deref coercions, or \
a more generic conversion trait"]
pub trait Str {
/// Work with `self` as a slice.
Expand Down

0 comments on commit 29e5d8d

Please sign in to comment.