Skip to content

Commit 137f5bc

Browse files
authored
spelling fix in comment
1 parent 1670a53 commit 137f5bc

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)