rust/tests/source/issue-3227/two.rs
Caleb Cartwright aa8a53f687 refactor: switch idempotence/system tests to style_edition
Updates all the various files utilized in the system and
idempotence tests to directly use the corresponding
'style_edition' configuration as opposed to keeping
the original 'version' values and relying on the mapping.
2024-07-28 19:37:36 -05:00

14 lines
211 B
Rust

// rustfmt-style_edition: 2024
fn main() {
thread::spawn(|| {
while true {
println!("iteration");
}
});
thread::spawn(|| loop {
println!("iteration");
});
}