Skip to content

Commit

Permalink
Merge pull request #2853 from serde-rs/oli-obk-patch-1
Browse files Browse the repository at this point in the history
pacify clippy
  • Loading branch information
oli-obk authored Nov 1, 2024
2 parents adf05a5 + 951ca5a commit a95b0d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion serde_derive/src/internals/check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ fn check_from_and_try_from(cx: &Ctxt, cont: &mut Container) {
fn check_name_conflicts(cx: &Ctxt, cont: &Container, derive: Derive) {
if let Derive::Deserialize = derive {
match &cont.data {
Data::Enum(variants) => check_variant_name_conflicts(cx, &variants),
Data::Enum(variants) => check_variant_name_conflicts(cx, variants),
Data::Struct(Style::Struct, fields) => check_field_name_conflicts(cx, fields),
_ => {}
}
Expand Down

0 comments on commit a95b0d3

Please sign in to comment.