]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/issue-3227/one.rs
Rollup merge of #106897 - estebank:issue-99430, r=davidtwco
[rust.git] / src / tools / rustfmt / tests / target / issue-3227 / one.rs
1 // rustfmt-version: One
2
3 fn main() {
4     thread::spawn(|| {
5         while true {
6             println!("iteration");
7         }
8     });
9
10     thread::spawn(|| loop {
11         println!("iteration");
12     });
13 }