@@ -189,7 +189,7 @@ impl<'a> MessageGen<'a> {
189
189
190
190
fn write_write_to_with_cached_sizes ( & self , w : & mut CodeWriter ) {
191
191
let sig = format ! (
192
- "write_to_with_cached_sizes(&self, os: &mut {}::CodedOutputStream) -> {}::ProtobufResult<()>" ,
192
+ "write_to_with_cached_sizes(&self, os: &mut {}::CodedOutputStream<'_> ) -> {}::ProtobufResult<()>" ,
193
193
protobuf_crate_path( & self . customize) ,
194
194
protobuf_crate_path( & self . customize) ,
195
195
) ;
@@ -292,7 +292,7 @@ impl<'a> MessageGen<'a> {
292
292
293
293
fn write_merge_from ( & self , w : & mut CodeWriter ) {
294
294
let sig = format ! (
295
- "merge_from(&mut self, is: &mut {}::CodedInputStream) -> {}::ProtobufResult<()>" ,
295
+ "merge_from(&mut self, is: &mut {}::CodedInputStream<'_> ) -> {}::ProtobufResult<()>" ,
296
296
protobuf_crate_path( & self . customize) ,
297
297
protobuf_crate_path( & self . customize) ,
298
298
) ;
@@ -437,7 +437,7 @@ impl<'a> MessageGen<'a> {
437
437
fn write_impl_show ( & self , w : & mut CodeWriter ) {
438
438
w. impl_for_block ( "::std::fmt::Debug" , & format ! ( "{}" , self . type_name) , |w| {
439
439
w. def_fn (
440
- "fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result" ,
440
+ "fmt(&self, f: &mut ::std::fmt::Formatter<'_> ) -> ::std::fmt::Result" ,
441
441
|w| {
442
442
w. write_line ( & format ! (
443
443
"{}::text_format::fmt(self, f)" ,
0 commit comments