about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2018-02-15 14:44:58 -0500
committerGitHub <noreply@github.com>2018-02-15 14:44:58 -0500
commit137f5bc64e3259a3921ceefb660aae134adbe528 (patch)
tree19904ffd46b9687477ddc006f427749456b403ae
parent1670a532dd769763f1d6ad9e5d624ec31361a098 (diff)
downloadrust-137f5bc64e3259a3921ceefb660aae134adbe528.tar.gz
rust-137f5bc64e3259a3921ceefb660aae134adbe528.zip
spelling fix in comment
-rw-r--r--src/libcore/str/pattern.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/str/pattern.rs b/src/libcore/str/pattern.rs
index 089d691773a..95bb8f18947 100644
--- a/src/libcore/str/pattern.rs
+++ b/src/libcore/str/pattern.rs
@@ -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