@@ -1519,7 +1519,7 @@ pub trait Itertools : Iterator {
1519
1519
/// .collect();
1520
1520
/// let expected: Vec<_> = vec![1, 2, 3].into_iter().map(NoCloneImpl).collect();
1521
1521
/// assert_eq!(filtered, expected);
1522
- fn take_while_inclusive < F > ( & mut self , accept : F ) -> TakeWhileInclusive < Self , F >
1522
+ fn take_while_inclusive < F > ( self , accept : F ) -> TakeWhileInclusive < Self , F >
1523
1523
where
1524
1524
Self : Sized ,
1525
1525
F : FnMut ( & Self :: Item ) -> bool ,
@@ -2650,7 +2650,7 @@ pub trait Itertools : Iterator {
2650
2650
/// **Note:** This consumes the entire iterator, uses the
2651
2651
/// [`slice::sort_unstable`] method and returns the result as a new
2652
2652
/// iterator that owns its elements.
2653
- ///
2653
+ ///
2654
2654
/// This sort is unstable (i.e., may reorder equal elements).
2655
2655
///
2656
2656
/// The sorted iterator, if directly collected to a `Vec`, is converted
@@ -2681,7 +2681,7 @@ pub trait Itertools : Iterator {
2681
2681
/// **Note:** This consumes the entire iterator, uses the
2682
2682
/// [`slice::sort_unstable_by`] method and returns the result as a new
2683
2683
/// iterator that owns its elements.
2684
- ///
2684
+ ///
2685
2685
/// This sort is unstable (i.e., may reorder equal elements).
2686
2686
///
2687
2687
/// The sorted iterator, if directly collected to a `Vec`, is converted
@@ -2716,7 +2716,7 @@ pub trait Itertools : Iterator {
2716
2716
/// **Note:** This consumes the entire iterator, uses the
2717
2717
/// [`slice::sort_unstable_by_key`] method and returns the result as a new
2718
2718
/// iterator that owns its elements.
2719
- ///
2719
+ ///
2720
2720
/// This sort is unstable (i.e., may reorder equal elements).
2721
2721
///
2722
2722
/// The sorted iterator, if directly collected to a `Vec`, is converted
@@ -2752,7 +2752,7 @@ pub trait Itertools : Iterator {
2752
2752
/// **Note:** This consumes the entire iterator, uses the
2753
2753
/// [`slice::sort`] method and returns the result as a new
2754
2754
/// iterator that owns its elements.
2755
- ///
2755
+ ///
2756
2756
/// This sort is stable (i.e., does not reorder equal elements).
2757
2757
///
2758
2758
/// The sorted iterator, if directly collected to a `Vec`, is converted
@@ -2783,7 +2783,7 @@ pub trait Itertools : Iterator {
2783
2783
/// **Note:** This consumes the entire iterator, uses the
2784
2784
/// [`slice::sort_by`] method and returns the result as a new
2785
2785
/// iterator that owns its elements.
2786
- ///
2786
+ ///
2787
2787
/// This sort is stable (i.e., does not reorder equal elements).
2788
2788
///
2789
2789
/// The sorted iterator, if directly collected to a `Vec`, is converted
@@ -2818,7 +2818,7 @@ pub trait Itertools : Iterator {
2818
2818
/// **Note:** This consumes the entire iterator, uses the
2819
2819
/// [`slice::sort_by_key`] method and returns the result as a new
2820
2820
/// iterator that owns its elements.
2821
- ///
2821
+ ///
2822
2822
/// This sort is stable (i.e., does not reorder equal elements).
2823
2823
///
2824
2824
/// The sorted iterator, if directly collected to a `Vec`, is converted
@@ -2855,7 +2855,7 @@ pub trait Itertools : Iterator {
2855
2855
/// **Note:** This consumes the entire iterator, uses the
2856
2856
/// [`slice::sort_by_cached_key`] method and returns the result as a new
2857
2857
/// iterator that owns its elements.
2858
- ///
2858
+ ///
2859
2859
/// This sort is stable (i.e., does not reorder equal elements).
2860
2860
///
2861
2861
/// The sorted iterator, if directly collected to a `Vec`, is converted
0 commit comments