about summary refs log tree commit diff
path: root/src/libstd_unicode
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-03-31 23:23:49 +0000
committerbors <bors@rust-lang.org>2017-03-31 23:23:49 +0000
commit2f1652870f5900bc41610d808b8bc2d51c901192 (patch)
tree3bd9adab1026631921ab10fca0efe84dc67b53aa /src/libstd_unicode
parent40feadb966f825de7aa54a3138416c906b60f54a (diff)
parent54b3f6aa21818318c0cf9c6d7fc2e17d50bfe4d4 (diff)
downloadrust-2f1652870f5900bc41610d808b8bc2d51c901192.tar.gz
rust-2f1652870f5900bc41610d808b8bc2d51c901192.zip
Auto merge of #40972 - frewsxcv:rollup, r=frewsxcv
Rollup of 6 pull requests

- Successful merges: #40703, #40728, #40763, #40871, #40935, #40947
- Failed merges:
Diffstat (limited to 'src/libstd_unicode')
-rw-r--r--src/libstd_unicode/u_str.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libstd_unicode/u_str.rs b/src/libstd_unicode/u_str.rs
index 3c02ea82d2a..770b67acd49 100644
--- a/src/libstd_unicode/u_str.rs
+++ b/src/libstd_unicode/u_str.rs
@@ -19,6 +19,12 @@ use core::str::Split;
 
 /// 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.
+///
+/// [`split_whitespace`]: ../../std/primitive.str.html#method.split_whitespace
+/// [`str`]: ../../std/primitive.str.html
 #[stable(feature = "split_whitespace", since = "1.1.0")]
 pub struct SplitWhitespace<'a> {
     inner: Filter<Split<'a, fn(char) -> bool>, fn(&&str) -> bool>,