Skip to content

Commit

Permalink
make rustfmt follow editorconfig
Browse files Browse the repository at this point in the history
the editorconfig file is copied from rustc  sources actually
  • Loading branch information
JieningYu committed Mar 9, 2024
1 parent f6f6606 commit 415b2a6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rustfmt.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ edition = "2021"
match_arm_leading_pipes = "Preserve"
newline_style = "Unix"
use_field_init_shorthand = true
hard_tabs = false
tab_spaces = 4

0 comments on commit 415b2a6

Please sign in to comment.