diff options
| author | Joseph Crail <jbcrail@gmail.com> | 2014-06-08 13:22:49 -0400 |
|---|---|---|
| committer | Joseph Crail <jbcrail@gmail.com> | 2014-06-08 13:39:42 -0400 |
| commit | 45e56eccbed3161dd9de547c6c2dcf618114a484 (patch) | |
| tree | 4eb63b08a1f5beebc194419162b0f5c5dce1c0e5 /src/libcore | |
| parent | 17ba0cf4289d6da632aab4cf242ad74dea94fe37 (diff) | |
| download | rust-45e56eccbed3161dd9de547c6c2dcf618114a484.tar.gz rust-45e56eccbed3161dd9de547c6c2dcf618114a484.zip | |
Fix spelling errors in comments.
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 |
