@@ -208,7 +208,7 @@ pub trait Write {
208208 // requiring a `Sized` bound.
209209 struct Adapter < ' a , T : ?Sized +' a > ( & ' a mut T ) ;
210210
211- impl < ' a , T : ?Sized > Write for Adapter < ' a , T >
211+ impl < T : ?Sized > Write for Adapter < ' _ , T >
212212 where T : Write
213213 {
214214 fn write_str ( & mut self , s : & str ) -> Result {
@@ -229,7 +229,7 @@ pub trait Write {
229229}
230230
231231#[ stable( feature = "fmt_write_blanket_impl" , since = "1.4.0" ) ]
232- impl < ' a , W : Write + ?Sized > Write for & ' a mut W {
232+ impl < W : Write + ?Sized > Write for & mut W {
233233 fn write_str ( & mut self , s : & str ) -> Result {
234234 ( * * self ) . write_str ( s)
235235 }
@@ -291,8 +291,8 @@ pub struct ArgumentV1<'a> {
291291
292292#[ unstable( feature = "fmt_internals" , reason = "internal to format_args!" ,
293293 issue = "0" ) ]
294- impl < ' a > Clone for ArgumentV1 < ' a > {
295- fn clone ( & self ) -> ArgumentV1 < ' a > {
294+ impl Clone for ArgumentV1 < ' _ > {
295+ fn clone ( & self ) -> Self {
296296 * self
297297 }
298298}
@@ -436,14 +436,14 @@ pub struct Arguments<'a> {
436436}
437437
438438#[ stable( feature = "rust1" , since = "1.0.0" ) ]
439- impl < ' a > Debug for Arguments < ' a > {
439+ impl Debug for Arguments < ' _ > {
440440 fn fmt ( & self , fmt : & mut Formatter ) -> Result {
441441 Display :: fmt ( self , fmt)
442442 }
443443}
444444
445445#[ stable( feature = "rust1" , since = "1.0.0" ) ]
446- impl < ' a > Display for Arguments < ' a > {
446+ impl Display for Arguments < ' _ > {
447447 fn fmt ( & self , fmt : & mut Formatter ) -> Result {
448448 write ( fmt. buf , * self )
449449 }
@@ -1884,7 +1884,7 @@ impl<'a> Formatter<'a> {
18841884}
18851885
18861886#[ stable( since = "1.2.0" , feature = "formatter_write" ) ]
1887- impl < ' a > Write for Formatter < ' a > {
1887+ impl Write for Formatter < ' _ > {
18881888 fn write_str ( & mut self , s : & str ) -> Result {
18891889 self . buf . write_str ( s)
18901890 }
@@ -1911,11 +1911,11 @@ macro_rules! fmt_refs {
19111911 ( $( $tr: ident) ,* ) => {
19121912 $(
19131913 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
1914- impl <' a , T : ?Sized + $tr> $tr for & ' a T {
1914+ impl <T : ?Sized + $tr> $tr for & T {
19151915 fn fmt( & self , f: & mut Formatter ) -> Result { $tr:: fmt( & * * self , f) }
19161916 }
19171917 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
1918- impl <' a , T : ?Sized + $tr> $tr for & ' a mut T {
1918+ impl <T : ?Sized + $tr> $tr for & mut T {
19191919 fn fmt( & self , f: & mut Formatter ) -> Result { $tr:: fmt( & * * self , f) }
19201920 }
19211921 ) *
@@ -2039,14 +2039,14 @@ impl<T: ?Sized> Pointer for *mut T {
20392039}
20402040
20412041#[ stable( feature = "rust1" , since = "1.0.0" ) ]
2042- impl < ' a , T : ?Sized > Pointer for & ' a T {
2042+ impl < T : ?Sized > Pointer for & T {
20432043 fn fmt ( & self , f : & mut Formatter ) -> Result {
20442044 Pointer :: fmt ( & ( * self as * const T ) , f)
20452045 }
20462046}
20472047
20482048#[ stable( feature = "rust1" , since = "1.0.0" ) ]
2049- impl < ' a , T : ?Sized > Pointer for & ' a mut T {
2049+ impl < T : ?Sized > Pointer for & mut T {
20502050 fn fmt ( & self , f : & mut Formatter ) -> Result {
20512051 Pointer :: fmt ( & ( & * * self as * const T ) , f)
20522052 }
@@ -2153,14 +2153,14 @@ impl<T: ?Sized + Debug> Debug for RefCell<T> {
21532153}
21542154
21552155#[ stable( feature = "rust1" , since = "1.0.0" ) ]
2156- impl < ' b , T : ?Sized + Debug > Debug for Ref < ' b , T > {
2156+ impl < T : ?Sized + Debug > Debug for Ref < ' _ , T > {
21572157 fn fmt ( & self , f : & mut Formatter ) -> Result {
21582158 Debug :: fmt ( & * * self , f)
21592159 }
21602160}
21612161
21622162#[ stable( feature = "rust1" , since = "1.0.0" ) ]
2163- impl < ' b , T : ?Sized + Debug > Debug for RefMut < ' b , T > {
2163+ impl < T : ?Sized + Debug > Debug for RefMut < ' _ , T > {
21642164 fn fmt ( & self , f : & mut Formatter ) -> Result {
21652165 Debug :: fmt ( & * ( self . deref ( ) ) , f)
21662166 }
0 commit comments