Skip to content

Commit 643f32c

Browse files
committed
Changes per reviewer comments
1 parent 2a55cf2 commit 643f32c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/macros.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1218,10 +1218,9 @@ impl MacroBranch {
12181218
return None;
12191219
}
12201220

1221-
// 5 = " => {"
12221221
let old_body = context.snippet(self.body).trim();
12231222
let has_block_body = old_body.starts_with('{');
1224-
let prefix_width = if has_block_body && context.config.format_macro_bodies() {
1223+
let prefix_width = if has_block_body {
12251224
// 6 = " => {{"
12261225
6
12271226
} else {

0 commit comments

Comments
 (0)