aboutsummaryrefslogtreecommitdiffstats
path: root/rustfmt.toml
diff options
context:
space:
mode:
Diffstat (limited to 'rustfmt.toml')
-rw-r--r--rustfmt.toml5
1 files changed, 5 insertions, 0 deletions
diff --git a/rustfmt.toml b/rustfmt.toml
new file mode 100644
index 0000000..a6a84af
--- /dev/null
+++ b/rustfmt.toml
@@ -0,0 +1,5 @@
+brace_style = "PreferSameLine"
+fn_args_density = "Compressed"
+match_block_trailing_comma = true
+struct_lit_width = 60
+use_try_shorthand = true