]>
git.proxmox.com Git - rustc.git/blame - src/tools/rustfmt/tests/target/issue-3227/two.rs
Commit | Line | Data |
f20569fa XL |
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 | } |