7 lines
158 B
Rust
7 lines
158 B
Rust
// rustfmt-format_macro_bodies: true
|
|
|
|
macro_rules! foo {
|
|
($a: ident : $b: ty) => { $a(42): $b; };
|
|
($a: ident $b: ident $c: ident) => { $a=$b+$c; };
|
|
}
|