Skip to content

Commit

Permalink
spelling fix in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
steveklabnik committed Feb 15, 2018
1 parent 1670a53 commit 137f5bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/str/pattern.rs
Expand Up @@ -324,7 +324,7 @@ unsafe impl<'a> Searcher<'a> for CharSearcher<'a> {
// the second byte when searching for the third.
//
// However, this is totally okay. While we have the invariant that
// self.finger is on a UTF8 boundary, this invariant is not relid upon
// self.finger is on a UTF8 boundary, this invariant is not relied upon
// within this method (it is relied upon in CharSearcher::next()).
//
// We only exit this method when we reach the end of the string, or if we
Expand Down

0 comments on commit 137f5bc

Please sign in to comment.