]> git.lizzy.rs Git - rust.git/blob - tests/target/loop.rs
Format loops
[rust.git] / tests / target / loop.rs
1
2 fn main() {
3     loop {
4         return some_val;
5     }
6
7     let x = loop {
8         do_forever();
9     };
10
11     loop {
12         // Just comments
13     }
14 }