about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/coverage/debug.rs
diff options
context:
space:
mode:
authorTyler Mandry <tmandry@gmail.com>2020-12-09 13:38:33 -0800
committerGitHub <noreply@github.com>2020-12-09 13:38:33 -0800
commit9ced8dc0f5995e534988a79d7e7d8a2a555ef76f (patch)
tree9da7e97e0feb3ae901fdacea6dbe865fa9a40452 /compiler/rustc_mir/src/transform/coverage/debug.rs
parent666d1a8951093a5cc6e3e83bdc2cff9d7cd83045 (diff)
parent7654b12112664f4e21e519c0c0d7d0aff1f70221 (diff)
downloadrust-9ced8dc0f5995e534988a79d7e7d8a2a555ef76f.tar.gz
rust-9ced8dc0f5995e534988a79d7e7d8a2a555ef76f.zip
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
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions