diff options
| author | Konrad Borowski <konrad@borowski.pw> | 2021-02-03 09:13:27 +0100 |
|---|---|---|
| committer | Konrad Borowski <konrad@borowski.pw> | 2021-02-03 09:13:27 +0100 |
| commit | 35450365ac2fda8b948fe6fd1a1123837a9554b0 (patch) | |
| tree | 0bbbd5b6d9a4abbdb7549b2de5a5d2176f603335 | |
| parent | e6a0f3cdf3801394a53ffa42683385d94b02c772 (diff) | |
| download | rust-35450365ac2fda8b948fe6fd1a1123837a9554b0.tar.gz rust-35450365ac2fda8b948fe6fd1a1123837a9554b0.zip | |
Add "every" as a doc alias for "all".
| -rw-r--r-- | library/core/src/iter/traits/iterator.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/core/src/iter/traits/iterator.rs b/library/core/src/iter/traits/iterator.rs index 9f7ced829b0..c6eb4486c19 100644 --- a/library/core/src/iter/traits/iterator.rs +++ b/library/core/src/iter/traits/iterator.rs @@ -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 |
