mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 19:46:58 -04:00
12 lines
145 B
Rust
12 lines
145 B
Rust
|
|
fn foo(x: i32) -> i32 {
|
||
|
|
match x {
|
||
|
|
0 => 1,
|
||
|
|
1 => {
|
||
|
|
2
|
||
|
|
},
|
||
|
|
2 | 3 => {
|
||
|
|
4
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|