mirror of
https://github.com/MorizzG/rlox.git
synced 2025-12-06 04:12:42 +00:00
added rustfmt.toml
This commit is contained in:
parent
65efdd2824
commit
9d447d9266
1 changed files with 13 additions and 0 deletions
13
rustfmt.toml
Normal file
13
rustfmt.toml
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
imports_granularity = "Module"
|
||||||
|
group_imports = "StdExternalCrate"
|
||||||
|
|
||||||
|
# Activation of features, almost objectively better ;)
|
||||||
|
use_try_shorthand = true
|
||||||
|
use_field_init_shorthand = true
|
||||||
|
|
||||||
|
# Nightly only. Will not run in CI, but please format with these locally
|
||||||
|
wrap_comments = true
|
||||||
|
normalize_comments = true
|
||||||
|
comment_width = 100
|
||||||
|
|
||||||
|
condense_wildcard_suffixes = true
|
||||||
Loading…
Add table
Add a link
Reference in a new issue