aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2017-11-21 20:56:59 +0100
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2017-11-21 20:57:56 +0100
commit953a999d8f442b19758699d97c6227d353f9547d (patch)
tree9deb8490c7f399558e77041d387f16f90c553a84
parent9facd4cc2a37ecc6d24f0c090e560628d8b7f151 (diff)
downloadaskama-953a999d8f442b19758699d97c6227d353f9547d.tar.gz
askama-953a999d8f442b19758699d97c6227d353f9547d.tar.bz2
askama-953a999d8f442b19758699d97c6227d353f9547d.zip
Add rustfmt.toml for style tweaks
Diffstat (limited to '')
-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