about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <emilio@crisal.io>2020-05-16 22:20:51 +0200
committerCaleb Cartwright <calebcartwright@users.noreply.github.com>2021-10-11 17:16:10 -0500
commit8b58cce673d6ae4fbc1f3a8d28859bc100a72ed8 (patch)
tree69eea3fd2c8f5907b8a838e23f920724306f9b05 /src
parent365a2f8f6e710f67d6485fe9004bb3f64da977bc (diff)
downloadrust-8b58cce673d6ae4fbc1f3a8d28859bc100a72ed8.tar.gz
rust-8b58cce673d6ae4fbc1f3a8d28859bc100a72ed8.zip
Stabilize match_block_trailing_comma. (#4145)
Servo has used this since forever, and it'd be useful to be able to use
rustfmt stable there so that we can use the same rustfmt version in
both Firefox and Servo.

Feel free to close this if there's any reason it shouldn't be done.
Diffstat (limited to 'src')
-rw-r--r--src/config/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/mod.rs b/src/config/mod.rs
index c6cee8ed227..398a1814d8d 100644
--- a/src/config/mod.rs
+++ b/src/config/mod.rs
@@ -127,7 +127,7 @@ create_config! {
         "Add trailing semicolon after break, continue and return";
     trailing_comma: SeparatorTactic, SeparatorTactic::Vertical, false,
         "How to handle trailing commas for lists";
-    match_block_trailing_comma: bool, false, false,
+    match_block_trailing_comma: bool, false, true,
         "Put a trailing comma after a block based match arm (non-block arms are not affected)";
     blank_lines_upper_bound: usize, 1, false,
         "Maximum number of blank lines which can be put between items";