From b0626494c5fb9d3a142152f4cc20017287695784 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Tue, 22 Jun 2021 13:33:02 -0700 Subject: [PATCH] Add "some" as a doc alias for "any". --- library/core/src/iter/traits/iterator.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/library/core/src/iter/traits/iterator.rs b/library/core/src/iter/traits/iterator.rs index 78d317096b4f6..325b8939da171 100644 --- a/library/core/src/iter/traits/iterator.rs +++ b/library/core/src/iter/traits/iterator.rs @@ -2288,6 +2288,7 @@ pub trait Iterator { /// // we can still use `iter`, as there are more elements. /// assert_eq!(iter.next(), Some(&2)); /// ``` + #[doc(alias = "some")] #[inline] #[stable(feature = "rust1", since = "1.0.0")] fn any(&mut self, f: F) -> bool