diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2024-05-29 14:06:53 +1000 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2024-05-29 14:34:11 +1000 |
| commit | 448d63e9469c293c3855867d29cbff210691db92 (patch) | |
| tree | 303ec93e0c1d78572190bd9549bc0d4a626c7eea /tests/coverage/inline-dead.coverage | |
| parent | da159eb331b27df528185c616b394bb0e1d2a4bd (diff) | |
| download | rust-448d63e9469c293c3855867d29cbff210691db92.tar.gz rust-448d63e9469c293c3855867d29cbff210691db92.zip | |
Tweak various coverage test files for slightly nicer formatting
For coverage tests, splitting code across multiple lines often makes the resulting coverage report easier to interpret, so we force rustfmt to retain line breaks by adding dummy line comments with `//`.
Diffstat (limited to 'tests/coverage/inline-dead.coverage')
| -rw-r--r-- | tests/coverage/inline-dead.coverage | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/coverage/inline-dead.coverage b/tests/coverage/inline-dead.coverage index a2d24fd2f6a..c12668ce89a 100644 --- a/tests/coverage/inline-dead.coverage +++ b/tests/coverage/inline-dead.coverage @@ -14,7 +14,7 @@ LL| |#[inline] LL| 1|fn live<const B: bool>() -> u32 { LL| 1| if B { - LL| 0| dead() + LL| 0| dead() // LL| | } else { LL| 1| 0 LL| | } |
