@@ -1518,7 +1518,7 @@ pub trait Itertools: Iterator {
15181518 ///
15191519 /// See also [`.take_while_ref()`](Itertools::take_while_ref)
15201520 /// which is a similar adaptor.
1521- fn peeking_take_while < F > ( & mut self , accept : F ) -> PeekingTakeWhile < Self , F >
1521+ fn peeking_take_while < F > ( & mut self , accept : F ) -> PeekingTakeWhile < ' _ , Self , F >
15221522 where
15231523 Self : Sized + PeekingNext ,
15241524 F : FnMut ( & Self :: Item ) -> bool ,
@@ -1543,7 +1543,7 @@ pub trait Itertools: Iterator {
15431543 /// assert_eq!(decimals, "0123456789");
15441544 /// assert_eq!(hexadecimals.next(), Some('a'));
15451545 /// ```
1546- fn take_while_ref < F > ( & mut self , accept : F ) -> TakeWhileRef < Self , F >
1546+ fn take_while_ref < F > ( & mut self , accept : F ) -> TakeWhileRef < ' _ , Self , F >
15471547 where
15481548 Self : Clone ,
15491549 F : FnMut ( & Self :: Item ) -> bool ,
@@ -2506,7 +2506,7 @@ pub trait Itertools: Iterator {
25062506 /// format!("{:.2}", data.iter().format(", ")),
25072507 /// "1.10, 2.72, -3.00");
25082508 /// ```
2509- fn format ( self , sep : & str ) -> Format < Self >
2509+ fn format ( self , sep : & str ) -> Format < ' _ , Self >
25102510 where
25112511 Self : Sized ,
25122512 {
@@ -2545,7 +2545,7 @@ pub trait Itertools: Iterator {
25452545 ///
25462546 ///
25472547 /// ```
2548- fn format_with < F > ( self , sep : & str , format : F ) -> FormatWith < Self , F >
2548+ fn format_with < F > ( self , sep : & str , format : F ) -> FormatWith < ' _ , Self , F >
25492549 where
25502550 Self : Sized ,
25512551 F : FnMut ( Self :: Item , & mut dyn FnMut ( & dyn fmt:: Display ) -> fmt:: Result ) -> fmt:: Result ,
0 commit comments