diff options
| author | Donnie Bishop <donnie.a.bishop@gmail.com> | 2017-03-30 16:46:16 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-03-30 16:46:16 -0400 |
| commit | c4b11d19b85f970b759f14e6dd864512d8c41f66 (patch) | |
| tree | 52cb03a65eeedbe3deb179b5ab9522e68f2b418b /src/libstd_unicode | |
| parent | a4a7166fd585802e9644ae9b4aa3e63861d11d3e (diff) | |
| download | rust-c4b11d19b85f970b759f14e6dd864512d8c41f66.tar.gz rust-c4b11d19b85f970b759f14e6dd864512d8c41f66.zip | |
Revert SplitWhitespace's description
Original headline of SplitWhitespace's description is more descriptive as to what it contains and iterates over.
Diffstat (limited to 'src/libstd_unicode')
| -rw-r--r-- | src/libstd_unicode/u_str.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstd_unicode/u_str.rs b/src/libstd_unicode/u_str.rs index fd309e822a0..d3aa27b436d 100644 --- a/src/libstd_unicode/u_str.rs +++ b/src/libstd_unicode/u_str.rs @@ -17,7 +17,8 @@ use core::char; use core::iter::{Filter, FusedIterator}; use core::str::Split; -/// An iterator over sub-slices of the original string slice. +/// An iterator over the non-whitespace substrings of a string, +/// separated by any amount of whitespace. /// /// This struct is created by the [`split_whitespace()`] method on [`str`]. /// See its documentation for more. |
