diff options
| -rw-r--r-- | rustfmt.toml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/rustfmt.toml b/rustfmt.toml index a1f5f912a5..4458e46977 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -1,4 +1,16 @@ +# Activation of features, almost objectively better ;) reorder_imports = true +reorder_imported_names = true +use_try_shorthand = true +condense_wildcard_suffices = true +normalize_comments = true wrap_comments = true + +# Heavily subjective style choices +comment_width = 100 +chain_one_line_max = 100 +array_layout = "Block" +fn_call_style = "Block" +trailing_comma = "Never" + write_mode = "Overwrite" -ideal_width = 100 |
