Skip to content

Commit ebd2d8d

Browse files
committed
Correct a typo in a deprecation warning
1 parent b8b52d6 commit ebd2d8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/libcollections/slice.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ pub trait SliceExt {
174174
fn slice(&self, start: uint, end: uint) -> &[Self::Item];
175175

176176
/// Deprecated: use `&s[start..]` notation instead.
177-
#[deprecated = "use &s[start..] isntead"]
177+
#[deprecated = "use &s[start..] instead"]
178178
fn slice_from(&self, start: uint) -> &[Self::Item];
179179

180180
/// Deprecated: use `&s[..end]` notation instead.

0 commit comments

Comments
 (0)