From 1139e6e5ccbcaf22b853a0aa3dc5bebf862fabe6 Mon Sep 17 00:00:00 2001 From: Caleb Cartwright Date: Thu, 5 Nov 2020 19:24:51 -0600 Subject: [PATCH] fix: remove comment from cherry-pick that v1.x doesn't handle --- src/matches.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/matches.rs b/src/matches.rs index 3f02357a400..a43aed09ef5 100644 --- a/src/matches.rs +++ b/src/matches.rs @@ -302,8 +302,6 @@ fn block_can_be_flattened<'a>( if !is_unsafe_block(block) && !context.inside_macro() && is_simple_block(context, block, Some(&expr.attrs)) - // Don't flatten a block containing a macro invocation, - // since it may expand to a statement && !stmt_is_expr_mac(&block.stmts[0]) => { Some(&*block)