aboutsummaryrefslogtreecommitdiff
path: root/tests/enum_external_deserialize.rs
diff options
context:
space:
mode:
authorNick Hackman <snickhackman@gmail.com>2019-08-13 14:13:01 -0400
committerNick Hackman <snickhackman@gmail.com>2019-08-13 14:13:01 -0400
commitf883457334fee8006752256e96171a4b4a428883 (patch)
tree97d7448d1b39e4a0de74033c27036f02fcac5698 /tests/enum_external_deserialize.rs
parent208f4a9ce9178a4233f1886c2fdfae05e001a2d0 (diff)
downloadmilf-rs-f883457334fee8006752256e96171a4b4a428883.tar.gz
milf-rs-f883457334fee8006752256e96171a4b4a428883.zip
Simplified Logic when comparing discriminants
Removed matches that were used to compare Enum variants for equality in favor of using discriminant from https://doc.rust-lang.org/std/mem/fn.discriminant.html introduced in Rust 1.21.0
Diffstat (limited to 'tests/enum_external_deserialize.rs')
0 files changed, 0 insertions, 0 deletions