1
Fork 0

coverage: Tweak individual tests to be unaffected by rustfmt

Some of these tests use non-standard formatting that we can simulate by
strategically adding `//` line comments.

One contains `where` clauses that would be split across multiple lines, which
we can keep on one line by moving the bounds to the generic type instead.
This commit is contained in:
Zalathar 2024-01-16 14:12:10 +11:00
parent f1494425bb
commit 1f9353ae2c
11 changed files with 57 additions and 45 deletions

View file

@ -1,5 +1,6 @@
fn main() {
let num = 9;
while num >= 10 {
// loop body
}
}