summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClementTsang <cjhtsang@uwaterloo.ca>2020-08-23 21:57:01 -0400
committerClementTsang <cjhtsang@uwaterloo.ca>2020-08-23 21:57:08 -0400
commit52a21b9bec054e98f35a4af9926325ca0c8f0477 (patch)
tree24171cfd2a35b9519c0cfd7de2a6e1f8533fb02a
parent6dca970541037964a4f7b758c9296563c866363c (diff)
chore: change line endings to LF, refactor rustfmt [skip travis]
-rw-r--r--rustfmt.toml9
1 files changed, 5 insertions, 4 deletions
diff --git a/rustfmt.toml b/rustfmt.toml
index 3992c568..72e8f629 100644
--- a/rustfmt.toml
+++ b/rustfmt.toml
@@ -1,8 +1,9 @@
edition = "2018"
-max_width = 100
-newline_style = "Unix"
reorder_imports = true
-fn_args_layout = "Compressed"
-merge_derives = true
reorder_modules = true
+merge_derives = true
+fn_args_layout = "Compressed"
+use_field_init_shorthand = true
tab_spaces = 4
+max_width = 100
+newline_style = "Unix"