Iterator::all() - document short-circuiting property parallel to any()
This commit is contained in:
parent
e859498d1c
commit
56f3282f31
1 changed files with 2 additions and 0 deletions
|
@ -616,6 +616,8 @@ pub trait Iterator {
|
||||||
|
|
||||||
/// Tests whether the predicate holds true for all elements in the iterator.
|
/// Tests whether the predicate holds true for all elements in the iterator.
|
||||||
///
|
///
|
||||||
|
/// Does not consume the iterator past the first non-matching element.
|
||||||
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
/// ```
|
/// ```
|
||||||
|
|
Loading…
Reference in a new issue