1
Fork 0

Fix spelling errors in comments.

This commit is contained in:
Joseph Crail 2014-06-08 13:22:49 -04:00
parent 17ba0cf428
commit 45e56eccbe
12 changed files with 17 additions and 17 deletions

View file

@ -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