Revert SplitWhitespace's description

Original headline of SplitWhitespace's description is more descriptive as to what it contains and iterates over.
This commit is contained in:
Donnie Bishop 2017-03-30 16:46:16 -04:00 committed by GitHub
parent a4a7166fd5
commit c4b11d19b8
1 changed files with 2 additions and 1 deletions

View File

@ -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.