mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-27 12:20:04 +08:00
14 lines
207 B
Rust
Vendored
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
|
|
}
|