mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
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:
@@ -1,6 +1,7 @@
|
||||
LL| 1|fn main() {
|
||||
LL| 1| let num = 9;
|
||||
LL| 1| while num >= 10 {
|
||||
LL| 0| // loop body
|
||||
LL| 0| }
|
||||
LL| 1|}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user