update language from "no lines" to "empty iterator"
diff --git a/library/core/src/str/mod.rs b/library/core/src/str/mod.rs index 88d3cc8..ab7389a 100644 --- a/library/core/src/str/mod.rs +++ b/library/core/src/str/mod.rs
@@ -1251,7 +1251,7 @@ pub fn split_ascii_whitespace(&self) -> SplitAsciiWhitespace<'_> { /// ending will return the same lines as an otherwise identical string /// without a final line ending. /// - /// An empty string returns no lines. + /// An empty string returns an empty iterator. /// /// # Examples /// @@ -1284,7 +1284,7 @@ pub fn split_ascii_whitespace(&self) -> SplitAsciiWhitespace<'_> { /// assert_eq!(None, lines.next()); /// ``` /// - /// An empty string returns no lines: + /// An empty string returns an empty iterator: /// /// ``` /// let text = "";