diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2015-01-14 16:05:32 -0500 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2015-01-21 11:21:07 -0500 |
| commit | 29e5d8d483eb68ff8d796e0032677c80d3666f56 (patch) | |
| tree | 0c00b2f5e3ba92a14627f6b8f020a1b6217ff3d3 /src/libcore/str | |
| parent | 6ba9acd8ab0fc6ab5ce3776a1a50fe1431125ed8 (diff) | |
| download | rust-29e5d8d483eb68ff8d796e0032677c80d3666f56.tar.gz rust-29e5d8d483eb68ff8d796e0032677c80d3666f56.zip | |
Improve quality of String#to_slice() deprecation message
Diffstat (limited to 'src/libcore/str')
| -rw-r--r-- | src/libcore/str/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/str/mod.rs b/src/libcore/str/mod.rs index 94ee9b7dcf6..e7259fac4db 100644 --- a/src/libcore/str/mod.rs +++ b/src/libcore/str/mod.rs @@ -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. |
