nvim-treesitter/tests/indent/rust/macro.rs
2021-04-23 21:21:38 +02:00

13 lines
168 B
Rust

macro_rules! foo {
($a:ident, $b:ident, $c:ident) => {
struct $a;
struct $b;
},
($a:ident) => {
struct $a;
},
}
foo! {
A
}