mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-19 02:13:57 +00:00

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.
7 lines
80 B
Rust
7 lines
80 B
Rust
fn main() {
|
|
let num = 9;
|
|
while num >= 10 {
|
|
// loop body
|
|
}
|
|
}
|