diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2017-04-13 16:22:37 +0200 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2017-04-13 16:22:37 +0200 |
| commit | 3f0cec26fca95bef9985c4b1a2cfceaa8926f319 (patch) | |
| tree | 25186d9bf26ed1db08bee1db1f4dfbf87f9d036c | |
| parent | 00c7d19623197d69d35bfa35a686299cdc90f14f (diff) | |
| download | mullvadvpn-3f0cec26fca95bef9985c4b1a2cfceaa8926f319.tar.xz mullvadvpn-3f0cec26fca95bef9985c4b1a2cfceaa8926f319.zip | |
Updated rustfmt.toml settings
| -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 |
