From 65e49a15aebbaad236d59a0e1312e6a80c38bd7a Mon Sep 17 00:00:00 2001 From: Ciel <47144701+Ciel-MC@users.noreply.github.com> Date: Mon, 15 Jul 2024 16:52:26 +0800 Subject: [PATCH] Give `take_while_inclusive` a more intuitive doc alias --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index a8de36749..0082aa989 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1594,6 +1594,7 @@ pub trait Itertools: Iterator { /// .collect(); /// let expected: Vec<_> = vec![1, 2, 3].into_iter().map(NoCloneImpl).collect(); /// assert_eq!(filtered, expected); + #[doc(alias = "take_until")] fn take_while_inclusive(self, accept: F) -> TakeWhileInclusive where Self: Sized,