Skip to content

Commit

Permalink
chore: elide a lifetime in CodeGenerator impl
Browse files Browse the repository at this point in the history
To please clippy.
  • Loading branch information
mzabaluev committed Jan 19, 2025
1 parent 596574e commit f798503
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prost-build/src/code_generator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ impl OneofField {
}
}

impl<'a, 'b> CodeGenerator<'a, 'b> {
impl<'b> CodeGenerator<'_, 'b> {
fn config(&self) -> &Config {
self.context.config()
}
Expand Down

0 comments on commit f798503

Please sign in to comment.