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