Skip to content

Commit

Permalink
Rollup merge of rust-lang#48243 - rust-lang:steveklabnik-patch-1, r=k…
Browse files Browse the repository at this point in the history
…ennytm

spelling fix in comment

r? @Manishearth
  • Loading branch information
GuillaumeGomez committed Feb 17, 2018
2 parents 3672caf + 137f5bc commit 01c7f3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/str/pattern.rs
Original file line number Diff line number Diff line change
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 01c7f3a

Please sign in to comment.