From ebd2d8db76ca29a728ee31d6eb2c7a9e4900e74f Mon Sep 17 00:00:00 2001 From: Carol Nichols Date: Sat, 24 Jan 2015 16:56:53 -0500 Subject: [PATCH] Correct a typo in a deprecation warning --- src/libcollections/slice.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcollections/slice.rs b/src/libcollections/slice.rs index 5534605074ab..300c1d0323b6 100644 --- a/src/libcollections/slice.rs +++ b/src/libcollections/slice.rs @@ -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.