We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7afe6d9 commit 52649ddCopy full SHA for 52649dd
src/libcore/str/mod.rs
@@ -3371,8 +3371,8 @@ impl str {
3371
/// An iterator over the disjoint matches of a pattern within the given string
3372
/// slice.
3373
///
3374
- /// The pattern can be any type that implements the Pattern trait. Notable
3375
- /// examples are `&str`, [`char`], and closures that determines the split.
+ /// The pattern can be a `&str`, [`char`], or a closure that determines if
+ /// a character matches.
3376
3377
/// # Iterator behavior
3378
0 commit comments