Skip to content

Commit

Permalink
always add a trailing comma after each match block
Browse files Browse the repository at this point in the history
for readability/maintainability
  • Loading branch information
jqnatividad committed Aug 11, 2023
1 parent 32f4de3 commit 286ed4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rustfmt.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 286ed4d

Please sign in to comment.