Skip to content

Commit

Permalink
remaining clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Bastian Schubert committed Jul 30, 2024
1 parent 0675523 commit 57b8147
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion derive/src/codegen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ pub(crate) fn one_of_enumeration(

quote_spanned! {span=>
#[automatically_derived]
#[warn(unused_imports)]
#[allow(unused_imports)]
impl #root::PbOneOf for #ty {
fn matches(field_number: u32) -> bool {
[#tags].contains(&field_number)
Expand Down

0 comments on commit 57b8147

Please sign in to comment.