mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-07 20:43:03 +00:00
![Zalathar](/assets/img/avatar_default.png)
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
|
|
}
|
|
}
|