coverage: Format all remaining tests
These tests can simply be reformatted as normal, because the resulting changes are unimportant.
This commit is contained in:
parent
1f9353ae2c
commit
99797bbd9f
18 changed files with 70 additions and 54 deletions
|
@ -9,7 +9,11 @@ use std::pin::Pin;
|
|||
// drop all `Counter` `Coverage` statements from a MIR. `simplify.rs` has logic
|
||||
// to handle this condition, and still report dead block coverage.
|
||||
fn get_u32(val: bool) -> Result<u32, String> {
|
||||
if val { Ok(1) } else { Err(String::from("some error")) }
|
||||
if val {
|
||||
Ok(1)
|
||||
} else {
|
||||
Err(String::from("some error"))
|
||||
}
|
||||
}
|
||||
|
||||
fn main() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue