about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/coverage/debug.rs
diff options
context:
space:
mode:
authorJacob Hoffman-Andrews <github@hoffman-andrews.com>2021-05-09 13:49:22 -0700
committerJacob Hoffman-Andrews <github@hoffman-andrews.com>2021-05-11 10:50:09 -0700
commitf510e412e93958e099334de22de375d26264e767 (patch)
tree0b50f04820359fd800ece9a9062296e18ff2a348 /compiler/rustc_mir/src/transform/coverage/debug.rs
parent6fd7a6dc0f5c4c8fd51d57c0f4f795d52481f904 (diff)
downloadrust-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