Correct a typo in a deprecation warning
This commit is contained in:
parent
b8b52d61f3
commit
ebd2d8db76
@ -174,7 +174,7 @@ pub trait SliceExt {
|
||||
fn slice(&self, start: uint, end: uint) -> &[Self::Item];
|
||||
|
||||
/// Deprecated: use `&s[start..]` notation instead.
|
||||
#[deprecated = "use &s[start..] isntead"]
|
||||
#[deprecated = "use &s[start..] instead"]
|
||||
fn slice_from(&self, start: uint) -> &[Self::Item];
|
||||
|
||||
/// Deprecated: use `&s[..end]` notation instead.
|
||||
|
Loading…
x
Reference in New Issue
Block a user