diff options
| author | Carol Nichols <carol.nichols@gmail.com> | 2015-01-24 16:56:53 -0500 |
|---|---|---|
| committer | Carol Nichols <carol.nichols@gmail.com> | 2015-01-26 21:09:50 -0500 |
| commit | ebd2d8db76ca29a728ee31d6eb2c7a9e4900e74f (patch) | |
| tree | 124b9837af7d1914bb5184de5589461fc014fe7b | |
| parent | b8b52d61f3465546eeba9f69fe49b3d2945b1fbe (diff) | |
| download | rust-ebd2d8db76ca29a728ee31d6eb2c7a9e4900e74f.tar.gz rust-ebd2d8db76ca29a728ee31d6eb2c7a9e4900e74f.zip | |
Correct a typo in a deprecation warning
| -rw-r--r-- | src/libcollections/slice.rs | 2 |
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. |
