mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 17:18:32 +03:00
rollup merge of #21157: steveklabnik/deprecation
This commit is contained in:
@@ -1147,7 +1147,7 @@ fn index(&self, _index: &ops::FullRange) -> &str {
|
||||
|
||||
/// 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.
|
||||
|
||||
Reference in New Issue
Block a user