about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/coverage/debug.rs
diff options
context:
space:
mode:
authorJubilee Young <workingjubilee@gmail.com>2020-10-21 18:18:18 -0700
committerJubilee Young <workingjubilee@gmail.com>2020-10-21 20:44:03 -0700
commitef027a1eed4cc8d34d1a4bf9222369e7fef48e93 (patch)
treef414c2f25595c9ca75229a79c612ef3bd6423f4e /compiler/rustc_mir/src/transform/coverage/debug.rs
parentd72d5f48c2c534de7382a601e4619de923b7f6a9 (diff)
downloadrust-ef027a1eed4cc8d34d1a4bf9222369e7fef48e93.tar.gz
rust-ef027a1eed4cc8d34d1a4bf9222369e7fef48e93.zip
Duration::zero() -> Duration::ZERO
Duration::ZERO composes better with match and various other things,
at the cost of an occasional parens, and results in less work for the
optimizer, so let's use that instead.
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions