diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2024-04-29 16:36:55 +1000 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2024-04-29 16:41:10 +1000 |
| commit | a25a11ad73dba9d75c576874d7bb1c03dd69fb26 (patch) | |
| tree | 95028abbb357bfd50fdbcf14f593bbf3c8c2059b /compiler/rustc_mir_transform/src/coverage/mod.rs | |
| parent | 5b1d58c9e2a1f0ae0b60a582525bf08b27b120ca (diff) | |
| download | rust-a25a11ad73dba9d75c576874d7bb1c03dd69fb26.tar.gz rust-a25a11ad73dba9d75c576874d7bb1c03dd69fb26.zip | |
coverage: Avoid hard-coded values when visiting logical ops
Instead of separately hard-coding the operation being visited, we can get it from the match arm pattern by using an as-pattern.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/mod.rs')
0 files changed, 0 insertions, 0 deletions
