1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
= "2021"
= 90
= "Unix"
= true
# skip generated files
= false
# always use tabs.
= true
= 4
# commas inbetween but not after
= true
= "Never"
# fix my imports for me
= "Crate"
#group_imports = "One"
# format everything
= true
= true
# don't keep outdated syntax
= true
= true
# condense Struct { _, _ } to Struct { .. }
= true
# prefer foo(Bar { \n }) over foo(\nBar { \n }\n)
= true
# I wish there was a way to allow 0..n but not a + 1..b + 2
# However, the later looks so terible that I use spaces everywhere
# https://github.com/rust-lang/rustfmt/issues/3367
= true