rust/compiler
Tyler Mandry 9ced8dc0f5
Rollup merge of #79826 - LingMan:match_if, r=lcnr
Simplify visit_{foreign,trait}_item

Using an `if` seems like a better semantic fit and saves a few lines.

Noticed while looking at https://github.com/rust-lang/rust/pull/79752, but that's already merged.
r? `@lcnr,` cc `@cjgillot`

`@rustbot` modify labels +C-cleanup +T-compiler
2020-12-09 13:38:33 -08:00
..
2020-12-07 17:56:19 -08:00
2020-12-03 09:50:10 -08:00
2020-12-06 20:30:07 +00:00
2020-12-03 17:08:19 -05:00
2020-12-03 17:08:19 -05:00
2020-12-03 09:50:10 -08:00