Skip to content

Commit 1139e6e

Browse files
fix: remove comment from cherry-pick that v1.x doesn't handle
1 parent 46ab144 commit 1139e6e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Diff for: src/matches.rs

-2
Original file line numberDiff line numberDiff line change
@@ -302,8 +302,6 @@ fn block_can_be_flattened<'a>(
302302
if !is_unsafe_block(block)
303303
&& !context.inside_macro()
304304
&& is_simple_block(context, block, Some(&expr.attrs))
305-
// Don't flatten a block containing a macro invocation,
306-
// since it may expand to a statement
307305
&& !stmt_is_expr_mac(&block.stmts[0]) =>
308306
{
309307
Some(&*block)

0 commit comments

Comments
 (0)