blob: 60f8267173094f6c36538a8ec9377ccca41fb80c [file]
//@ rustfmt-style_edition: 2024
fn main() {
thread::spawn(|| {
while true {
println!("iteration");
}
});
thread::spawn(|| loop {
println!("iteration");
});
}