about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCarol Nichols <carol.nichols@gmail.com>2015-01-24 16:56:53 -0500
committerCarol Nichols <carol.nichols@gmail.com>2015-01-26 21:09:50 -0500
commitebd2d8db76ca29a728ee31d6eb2c7a9e4900e74f (patch)
tree124b9837af7d1914bb5184de5589461fc014fe7b
parentb8b52d61f3465546eeba9f69fe49b3d2945b1fbe (diff)
downloadrust-ebd2d8db76ca29a728ee31d6eb2c7a9e4900e74f.tar.gz
rust-ebd2d8db76ca29a728ee31d6eb2c7a9e4900e74f.zip
Correct a typo in a deprecation warning
-rw-r--r--src/libcollections/slice.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcollections/slice.rs b/src/libcollections/slice.rs
index 5534605074a..300c1d0323b 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.