diff options
| author | Remi Rampin <remirampin@gmail.com> | 2015-09-23 14:35:53 -0400 |
|---|---|---|
| committer | Remi Rampin <remirampin@gmail.com> | 2015-09-23 14:35:53 -0400 |
| commit | 30fbf44fbc3d844c3e609bffa239151d5efcbccd (patch) | |
| tree | 6f5aad5aae9e4aa912bfb3dd10052440426d4676 /src | |
| parent | 07ca1ab1ec32ac99a61312ec07d66db5f3657040 (diff) | |
| download | rust-30fbf44fbc3d844c3e609bffa239151d5efcbccd.tar.gz rust-30fbf44fbc3d844c3e609bffa239151d5efcbccd.zip | |
Fix bad copypasta for patterns doc in std::str
Diffstat (limited to 'src')
| -rw-r--r-- | src/libcollections/str.rs | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/src/libcollections/str.rs b/src/libcollections/str.rs index 23c21a732b5..2f74ab5026e 100644 --- a/src/libcollections/str.rs +++ b/src/libcollections/str.rs @@ -715,8 +715,7 @@ impl str { /// Returns `None` if it doesn't exist. /// /// The pattern can be a simple `&str`, `char`, or a closure that - /// determines the - /// split. + /// determines if a character matches. /// /// # Examples /// @@ -760,7 +759,7 @@ impl str { /// Returns `None` if it doesn't exist. /// /// The pattern can be a simple `&str`, `char`, - /// or a closure that determines the split. + /// or a closure that determines if a character matches. /// /// # Examples /// @@ -1096,7 +1095,7 @@ impl str { /// An iterator over the matches of a pattern within `self`. /// /// The pattern can be a simple `&str`, `char`, or a closure that - /// determines the split. + /// determines if a character matches. /// Additional libraries might provide more complex patterns like /// regular expressions. /// @@ -1129,7 +1128,7 @@ impl str { /// reverse order. /// /// The pattern can be a simple `&str`, `char`, or a closure that - /// determines the split. + /// determines if a character matches. /// Additional libraries might provide more complex patterns like /// regular expressions. /// @@ -1166,8 +1165,7 @@ impl str { /// match are returned. /// /// The pattern can be a simple `&str`, `char`, or a closure that - /// determines - /// the split. + /// determines if a character matches. /// Additional libraries might provide more complex patterns like /// regular expressions. /// @@ -1214,8 +1212,7 @@ impl str { /// match are returned. /// /// The pattern can be a simple `&str`, `char`, or a closure that - /// determines - /// the split. + /// determines if a character matches. /// Additional libraries might provide more complex patterns like /// regular expressions. /// @@ -1296,7 +1293,7 @@ impl str { /// repeatedly removed. /// /// The pattern can be a simple `char`, or a closure that determines - /// the split. + /// if a character matches. /// /// # Examples /// @@ -1326,7 +1323,7 @@ impl str { /// repeatedly removed. /// /// The pattern can be a simple `&str`, `char`, or a closure that - /// determines the split. + /// determines if a character matches. /// /// # Examples /// @@ -1346,7 +1343,7 @@ impl str { /// repeatedly removed. /// /// The pattern can be a simple `&str`, `char`, or a closure that - /// determines the split. + /// determines if a character matches. /// /// # Examples /// |
