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/macro.rs
2022-04-14 12:01:23 +08:00

14 lines
207 B
Rust
Vendored

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