Skip to content

Commit

Permalink
Give take_while_inclusive a more intuitive doc alias
Browse files Browse the repository at this point in the history
  • Loading branch information
Ciel-MC authored and Philippe-Cholet committed Jul 15, 2024
1 parent a20444f commit a4a82e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<F>(self, accept: F) -> TakeWhileInclusive<Self, F>
where
Self: Sized,
Expand Down

0 comments on commit a4a82e4

Please sign in to comment.