Skip to content

Commit 4249552

Browse files
committed
Add "every" as a doc alias for "all".
1 parent 2d7773a commit 4249552

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/iter/traits/iterator.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2196,6 +2196,7 @@ pub trait Iterator {
21962196
/// // we can still use `iter`, as there are more elements.
21972197
/// assert_eq!(iter.next(), Some(&3));
21982198
/// ```
2199+
#[doc(alias = "every")]
21992200
#[inline]
22002201
#[stable(feature = "rust1", since = "1.0.0")]
22012202
fn all<F>(&mut self, f: F) -> bool

0 commit comments

Comments
 (0)