Skip to content

Commit 951ca5a

Browse files
authored
pacify clippy
1 parent adf05a5 commit 951ca5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

serde_derive/src/internals/check.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ fn check_from_and_try_from(cx: &Ctxt, cont: &mut Container) {
483483
fn check_name_conflicts(cx: &Ctxt, cont: &Container, derive: Derive) {
484484
if let Derive::Deserialize = derive {
485485
match &cont.data {
486-
Data::Enum(variants) => check_variant_name_conflicts(cx, &variants),
486+
Data::Enum(variants) => check_variant_name_conflicts(cx, variants),
487487
Data::Struct(Style::Struct, fields) => check_field_name_conflicts(cx, fields),
488488
_ => {}
489489
}

0 commit comments

Comments
 (0)