From 137f5bc64e3259a3921ceefb660aae134adbe528 Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Thu, 15 Feb 2018 14:44:58 -0500 Subject: [PATCH] spelling fix in comment --- src/libcore/str/pattern.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/str/pattern.rs b/src/libcore/str/pattern.rs index 089d691773a1b..95bb8f18947ec 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