summaryrefslogtreecommitdiff
path: root/rustfmt.toml
diff options
context:
space:
mode:
authorArne Dußin2021-12-01 13:05:54 +0100
committerArne Dußin2021-12-01 13:05:54 +0100
commit36dc513e41c349fa69231b81433ccbad911743a6 (patch)
tree791221a43654e77bf6c49a8231dc0e814539dc05 /rustfmt.toml
downloadaoc2021-36dc513e41c349fa69231b81433ccbad911743a6.tar.gz
aoc2021-36dc513e41c349fa69231b81433ccbad911743a6.zip
Add solution to day 1
Diffstat (limited to 'rustfmt.toml')
-rw-r--r--rustfmt.toml11
1 files changed, 11 insertions, 0 deletions
diff --git a/rustfmt.toml b/rustfmt.toml
new file mode 100644
index 0000000..b7e6339
--- /dev/null
+++ b/rustfmt.toml
@@ -0,0 +1,11 @@
+brace_style = "AlwaysNextLine"
+condense_wildcard_suffixes = true
+control_brace_style = "ClosingNextLine"
+fn_single_line = true
+format_strings = true
+imports_granularity = "Module"
+match_block_trailing_comma = true
+newline_style = "Unix"
+group_imports = "StdExternalCrate"
+struct_field_align_threshold = 15
+wrap_comments = true \ No newline at end of file