update language from "no lines" to "empty iterator"

This commit is contained in:
msmoiz
2025-11-13 16:44:07 -08:00
parent 4996edc53d
commit e628b059bb
+2 -2
View File
@@ -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 = "";