From 286ed4de6998128578010c83b6f9c962038c2984 Mon Sep 17 00:00:00 2001 From: Joel Natividad <1980690+jqnatividad@users.noreply.github.com> Date: Thu, 10 Aug 2023 22:18:08 -0400 Subject: [PATCH] always add a trailing comma after each match block for readability/maintainability --- rustfmt.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/rustfmt.toml b/rustfmt.toml index 6a4bd6d28..0ae229ea5 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -9,3 +9,4 @@ group_imports = "StdExternalCrate" imports_granularity = "Crate" enum_discrim_align_threshold = 20 struct_field_align_threshold = 20 +match_block_trailing_comma = true