diff --git a/prost-build/src/code_generator.rs b/prost-build/src/code_generator.rs index 6e456f428..b5c244486 100644 --- a/prost-build/src/code_generator.rs +++ b/prost-build/src/code_generator.rs @@ -81,7 +81,7 @@ impl OneofField { } } -impl<'a, 'b> CodeGenerator<'a, 'b> { +impl<'b> CodeGenerator<'_, 'b> { fn config(&self) -> &Config { self.context.config() }