Skip to content

Commit c4b11d1

Browse files
authored
Revert SplitWhitespace's description
Original headline of SplitWhitespace's description is more descriptive as to what it contains and iterates over.
1 parent a4a7166 commit c4b11d1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/libstd_unicode/u_str.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ use core::char;
1717
use core::iter::{Filter, FusedIterator};
1818
use core::str::Split;
1919

20-
/// An iterator over sub-slices of the original string slice.
20+
/// An iterator over the non-whitespace substrings of a string,
21+
/// separated by any amount of whitespace.
2122
///
2223
/// This struct is created by the [`split_whitespace()`] method on [`str`].
2324
/// See its documentation for more.

0 commit comments

Comments
 (0)