diff --git a/library/core/src/str/iter.rs b/library/core/src/str/iter.rs index cd67c7737803..642da2d2170d 100644 --- a/library/core/src/str/iter.rs +++ b/library/core/src/str/iter.rs @@ -190,7 +190,7 @@ impl<'a> CharIndices<'a> { self.iter.as_str() } - /// Returns the byte position of the next character, or the length + /// Returns the byte position of the next character, or the length /// of the underlying string if there are no more characters. /// /// # Examples