]> git.proxmox.com Git - rustc.git/blame - src/tools/rustfmt/tests/target/issue-3227/two.rs
Update upstream source from tag 'upstream/1.52.1+dfsg1'
[rustc.git] / src / tools / rustfmt / tests / target / issue-3227 / two.rs
CommitLineData
f20569fa
XL
1// rustfmt-version: Two
2
3fn main() {
4 thread::spawn(|| {
5 while true {
6 println!("iteration");
7 }
8 });
9
10 thread::spawn(|| {
11 loop {
12 println!("iteration");
13 }
14 });
15}