1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-27 12:20:04 +08:00
SpaceVim/bundle/nvim-treesitter/tests/indent/rust/loop.rs
2022-04-14 12:01:23 +08:00

20 lines
210 B
Rust
Vendored

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;
}
}