nvim-treesitter/lua/tests/indent/rust/macro.rs

14 lines
168 B
Rust
Raw Normal View History

2021-04-18 22:38:25 +02:00
macro_rules! foo {
($a:ident, $b:ident, $c:ident) => {
struct $a;
struct $b;
},
($a:ident) => {
struct $a;
},
}
foo! {
A
}