1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-11 10:03:39 +08:00
SpaceVim/bundle/nvim-treesitter-0.9.1/tests/indent/rust/loop.rs

20 lines
210 B
Rust

fn foo(mut x: i32) {
while x > 0 {
x -= 1;
}
for i in 0..3 {
x += 1;
}
loop {
x += 1;
if x < 100 {
continue;
}
break;
}
}