diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-05-26 20:38:08 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-05-26 20:38:08 -0400 |
commit | aa985e6a44a58fa0d508cda7fdaa63acf872ced8 (patch) | |
tree | f15b7a1207f024abb12c6fc8d12c9e7adba778e1 /rustfmt.toml | |
parent | 5b216318b887283d1b22fda055bb7cf381e6ae10 (diff) |
Format with rustfmt
Note that we're using struct/enum align options, which require nightly.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'rustfmt.toml')
-rw-r--r-- | rustfmt.toml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rustfmt.toml b/rustfmt.toml index 42f2ad7c..83b9248a 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -1,3 +1,5 @@ # Default settings, i.e. idiomatic rust edition = "2021" -newline_style = "Unix"
\ No newline at end of file +newline_style = "Unix" +enum_discrim_align_threshold = 20 +struct_field_align_threshold = 20 |