]> git.lizzy.rs Git - rust.git/commitdiff
spelling fix in comment
authorSteve Klabnik <steve@steveklabnik.com>
Thu, 15 Feb 2018 19:44:58 +0000 (14:44 -0500)
committerGitHub <noreply@github.com>
Thu, 15 Feb 2018 19:44:58 +0000 (14:44 -0500)
src/libcore/str/pattern.rs

index 089d691773a1bcf94a6b1ab31407006cb022e9ee..95bb8f18947ec842a5a92ff107e4fb63b550f9b5 100644 (file)
@@ -324,7 +324,7 @@ fn next_match(&mut self) -> Option<(usize, usize)> {
                 // 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