Skip to content

Commit

Permalink
Add "every" as a doc alias for "all".
Browse files Browse the repository at this point in the history
  • Loading branch information
KamilaBorowska committed Feb 3, 2021
1 parent e6a0f3c commit 3545036
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/core/src/iter/traits/iterator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2196,6 +2196,7 @@ pub trait Iterator {
/// // we can still use `iter`, as there are more elements.
/// assert_eq!(iter.next(), Some(&3));
/// ```
#[doc(alias = "every")]
#[inline]
#[stable(feature = "rust1", since = "1.0.0")]
fn all<F>(&mut self, f: F) -> bool
Expand Down

0 comments on commit 3545036

Please sign in to comment.