mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
Rollup merge of #48243 - rust-lang:steveklabnik-patch-1, r=kennytm
spelling fix in comment r? @Manishearth
This commit is contained in:
commit
01c7f3a345
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user