Correct a typo in a deprecation warning
This commit is contained in:
parent
b8b52d61f3
commit
ebd2d8db76
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue