]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/rustfmt/src/matches.rs
Auto merge of #89808 - tmiasko:llvm-multithreaded, r=nagisa
[rust.git] / src / tools / rustfmt / src / matches.rs
index 140ec226c02e5a072929ab318c477af93e2f5bb2..5a6ed0ec06e55a37ca203bafdbd9625a2ad3ce4c 100644 (file)
@@ -409,6 +409,7 @@ fn rewrite_match_body(
             }
             result.push_str(&nested_indent_str);
             result.push_str(&body_str);
+            result.push_str(&comma);
             return Some(result);
         }