mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-10-21 11:16:29 +00:00
be more explicit in match for future-proofing code via exhaustiveness check
This commit is contained in:
1 parent
a799ea171c
commit
9fc526b788
1 file changed
+1
-1
@@ -209,7 +209,7 @@ fn check_internally_tagged_variant_name_conflict(
|
||||
}
|
||||
}
|
||||
},
|
||||
_ => {},
|
||||
Style::Unit | Style::Newtype | Style::Tuple => {},
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user