Correct a typo in a deprecation warning

This commit is contained in:
Carol Nichols 2015-01-24 16:56:53 -05:00
parent b8b52d61f3
commit ebd2d8db76

View File

@ -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.