@@ -131,7 +131,7 @@ impl<'a> MessageGen<'a> {
131
131
132
132
fn write_write_to_with_cached_sizes ( & self , w : & mut CodeWriter ) {
133
133
let sig = format ! (
134
- "write_to_with_cached_sizes(&self, os: &mut {}::CodedOutputStream) -> {}::ProtobufResult<()>" ,
134
+ "write_to_with_cached_sizes(&self, os: &mut {}::CodedOutputStream<'_> ) -> {}::ProtobufResult<()>" ,
135
135
protobuf_crate_path( & self . customize) ,
136
136
protobuf_crate_path( & self . customize) ,
137
137
) ;
@@ -231,7 +231,7 @@ impl<'a> MessageGen<'a> {
231
231
232
232
fn write_merge_from ( & self , w : & mut CodeWriter ) {
233
233
let sig = format ! (
234
- "merge_from(&mut self, is: &mut {}::CodedInputStream) -> {}::ProtobufResult<()>" ,
234
+ "merge_from(&mut self, is: &mut {}::CodedInputStream<'_> ) -> {}::ProtobufResult<()>" ,
235
235
protobuf_crate_path( & self . customize) ,
236
236
protobuf_crate_path( & self . customize) ,
237
237
) ;
@@ -403,7 +403,7 @@ impl<'a> MessageGen<'a> {
403
403
fn write_impl_show ( & self , w : & mut CodeWriter ) {
404
404
w. impl_for_block ( "::std::fmt::Debug" , & self . type_name , |w| {
405
405
w. def_fn (
406
- "fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result" ,
406
+ "fmt(&self, f: &mut ::std::fmt::Formatter<'_> ) -> ::std::fmt::Result" ,
407
407
|w| {
408
408
w. write_line ( "::protobuf::text_format::fmt(self, f)" ) ;
409
409
} ,
0 commit comments