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.
2 parents 3f4827c + 52649dd commit d060dc8Copy full SHA for d060dc8
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