rust/tests/target/configs/format_macro_matchers/true.rs
2018-08-01 10:41:16 +12:00

11 lines
183 B
Rust

// rustfmt-format_macro_matchers: true
macro_rules! foo {
($a:ident : $b:ty) => {
$a(42): $b;
};
($a:ident $b:ident $c:ident) => {
$a = $b + $c;
};
}