diff options
| author | 许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com> | 2024-04-29 18:03:25 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-29 18:03:25 +0100 |
| commit | 0797adb327094035914fc1914eb99d1be983ac54 (patch) | |
| tree | a5d6c3033e0654374ab8688d97a4eb12c61fdf79 /compiler/rustc_mir_transform/src/coverage/mod.rs | |
| parent | 43265f5721d09645fc922a6dc71fa5e5b30a48d1 (diff) | |
| parent | a25a11ad73dba9d75c576874d7bb1c03dd69fb26 (diff) | |
| download | rust-0797adb327094035914fc1914eb99d1be983ac54.tar.gz rust-0797adb327094035914fc1914eb99d1be983ac54.zip | |
Rollup merge of #124508 - Zalathar:op, r=jieyouxu
coverage: Avoid hard-coded values when visiting logical ops This is a tiny little thing that I noticed during the final review of #123409, and I didn't want to hold up the whole PR just for this. Instead of separately hard-coding the operation being visited, we can get it from the match arm pattern by using an as-pattern. `@rustbot` label +A-code-coverage
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/mod.rs')
0 files changed, 0 insertions, 0 deletions
