diff options
author | Nick Hackman <snickhackman@gmail.com> | 2019-08-13 14:13:01 -0400 |
---|---|---|
committer | Nick Hackman <snickhackman@gmail.com> | 2019-08-13 14:13:01 -0400 |
commit | f883457334fee8006752256e96171a4b4a428883 (patch) | |
tree | 97d7448d1b39e4a0de74033c27036f02fcac5698 /tests/invalid/table-array-malformed-bracket.toml | |
parent | 208f4a9ce9178a4233f1886c2fdfae05e001a2d0 (diff) | |
download | milf-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/invalid/table-array-malformed-bracket.toml')
0 files changed, 0 insertions, 0 deletions