Skip to content

Commit a4a82e4

Browse files
Ciel-MCPhilippe-Cholet
authored andcommitted
Give take_while_inclusive a more intuitive doc alias
1 parent a20444f commit a4a82e4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1594,6 +1594,7 @@ pub trait Itertools: Iterator {
15941594
/// .collect();
15951595
/// let expected: Vec<_> = vec![1, 2, 3].into_iter().map(NoCloneImpl).collect();
15961596
/// assert_eq!(filtered, expected);
1597+
#[doc(alias = "take_until")]
15971598
fn take_while_inclusive<F>(self, accept: F) -> TakeWhileInclusive<Self, F>
15981599
where
15991600
Self: Sized,

0 commit comments

Comments
 (0)