]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/issue-3227/two.rs
:arrow_up: rust-analyzer
[rust.git] / src / tools / rustfmt / tests / target / issue-3227 / two.rs
1 // rustfmt-version: Two
2
3 fn main() {
4     thread::spawn(|| {
5         while true {
6             println!("iteration");
7         }
8     });
9
10     thread::spawn(|| {
11         loop {
12             println!("iteration");
13         }
14     });
15 }