rust/compiler/rustc_ast_pretty
Yuki Okushi 083638cfcf
Rollup merge of #77886 - LingMan:ast_pretty_bool_matches, r=petrochenkov
Replace trivial bool matches with the `matches!` macro

This derives `PartialEq` on one enum (and two structs it contains) to enable the `==` operator for it. If there's some downside to this, I could respin with the `matches!` macro instead.
2020-10-14 06:02:35 +09:00
..
src Rollup merge of #77886 - LingMan:ast_pretty_bool_matches, r=petrochenkov 2020-10-14 06:02:35 +09:00
Cargo.toml