diff options
| author | Jacob Hoffman-Andrews <github@hoffman-andrews.com> | 2021-05-09 13:49:22 -0700 |
|---|---|---|
| committer | Jacob Hoffman-Andrews <github@hoffman-andrews.com> | 2021-05-11 10:50:09 -0700 |
| commit | f510e412e93958e099334de22de375d26264e767 (patch) | |
| tree | 0b50f04820359fd800ece9a9062296e18ff2a348 /compiler/rustc_mir/src/transform/coverage/debug.rs | |
| parent | 6fd7a6dc0f5c4c8fd51d57c0f4f795d52481f904 (diff) | |
| download | rust-f510e412e93958e099334de22de375d26264e767.tar.gz rust-f510e412e93958e099334de22de375d26264e767.zip | |
rustdoc: remove explicit boolean comparisons.
For boolean variables it's shorter and more readable to check the value directly, or negate it with `!`. In a couple of cases I reordered an if/else pair because it made the initial `if` statement simpler. Removed unused isType parameter from two functions.
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions
