Sign in
rust
/
rustfmt
/
HEAD
/
.
/
tests
/
source
/
issue-3987
/
format_macro_bodies_true.rs
blob: 9af114fbe574d827daf6f89e0d67979e59f903ca [
file
] [
log
] [
blame
]
// rustfmt-format_macro_bodies: true
// with comments
macro_rules
!
macros
{
()
=>
{{
Struct
{
field
:
(
42
+
//comment 1
42
//comment 2
),
};
}};
}
// without comments
macro_rules
!
macros
{
()
=>
{{
Struct
{
field
:
(
42
+
42
),
};
}};
}