mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
Add "every" as a doc alias for "all".
This commit is contained in:
parent
e6a0f3cdf3
commit
35450365ac
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user