Skip to content
Permalink
Browse files

Fix paste error in split_ascii_whitespace docs.

  • Loading branch information...
solson committed Apr 12, 2019
1 parent 9a612b2 commit b27bcc0a17230179d010d914e06bb90ccadca1f7
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/libcore/str/mod.rs
@@ -2712,7 +2712,7 @@ impl str {
/// All kinds of ASCII whitespace are considered:
///
/// ```
/// let mut iter = " Mary had\ta little \n\t lamb".split_whitespace();
/// let mut iter = " Mary had\ta little \n\t lamb".split_ascii_whitespace();
/// assert_eq!(Some("Mary"), iter.next());
/// assert_eq!(Some("had"), iter.next());
/// assert_eq!(Some("a"), iter.next());

0 comments on commit b27bcc0

Please sign in to comment.
You can’t perform that action at this time.