Skip to content

Commit 01c7f3a

Browse files
Rollup merge of rust-lang#48243 - rust-lang:steveklabnik-patch-1, r=kennytm
spelling fix in comment r? @Manishearth
2 parents 3672caf + 137f5bc commit 01c7f3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/str/pattern.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ unsafe impl<'a> Searcher<'a> for CharSearcher<'a> {
324324
// the second byte when searching for the third.
325325
//
326326
// However, this is totally okay. While we have the invariant that
327-
// self.finger is on a UTF8 boundary, this invariant is not relid upon
327+
// self.finger is on a UTF8 boundary, this invariant is not relied upon
328328
// within this method (it is relied upon in CharSearcher::next()).
329329
//
330330
// We only exit this method when we reach the end of the string, or if we

0 commit comments

Comments
 (0)