Do not add missing snippet between arms if it's just spaces
@@ -1615,7 +1615,9 @@ fn rewrite_match_arms(
arm_shape,
&arm_indent_str,
));
+ if !comment.chars().all(|c| c == ' ') {
result.push_str(&comment);
+ }
result.push('\n');
result.push_str(&arm_indent_str);
