diff options
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/simd.rs | 2 | ||||
| -rw-r--r-- | src/libcore/str.rs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/libcore/simd.rs b/src/libcore/simd.rs index 99b802f9918..54e7d077bb1 100644 --- a/src/libcore/simd.rs +++ b/src/libcore/simd.rs @@ -31,7 +31,7 @@ //! //! ## Stability Note //! -//! These are all experimental. The inferface may change entirely, without +//! These are all experimental. The interface may change entirely, without //! warning. #![allow(non_camel_case_types)] diff --git a/src/libcore/str.rs b/src/libcore/str.rs index 936b698d4b1..87177b4ac90 100644 --- a/src/libcore/str.rs +++ b/src/libcore/str.rs @@ -478,7 +478,7 @@ impl TwoWaySearcher { } /// The internal state of an iterator that searches for matches of a substring -/// within a larger string using a dynamically chosed search algorithm +/// within a larger string using a dynamically chosen search algorithm #[deriving(Clone)] enum Searcher { Naive(NaiveSearcher), @@ -1120,7 +1120,7 @@ pub trait StrSlice<'a> { /// /// That is, each returned value `(start, end)` satisfies /// `self.slice(start, end) == sep`. For matches of `sep` within - /// `self` that overlap, only the indicies corresponding to the + /// `self` that overlap, only the indices corresponding to the /// first match are returned. /// /// # Example |
