Skip to content

Commit

Permalink
Rollup merge of #48243 - rust-lang:steveklabnik-patch-1, r=kennytm
Browse files Browse the repository at this point in the history
spelling fix in comment

r? @Manishearth
  • Loading branch information
GuillaumeGomez authored Feb 16, 2018
2 parents daed6d3 + 137f5bc commit 2844406
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 2844406

Please sign in to comment.