summaryrefslogtreecommitdiff
path: root/rustfmt.toml
diff options
context:
space:
mode:
authorDario Bartussek <[email protected]>2021-03-26 18:42:59 +0100
committerDario Bartussek <[email protected]>2021-03-26 18:42:59 +0100
commit2910e99c89eb10ccc3b8036a2975ae13302475d9 (patch)
treecdcf3c32b6a0f24a8fcdf3c77073a880b9631c06 /rustfmt.toml
downloadrust_3ds-2910e99c89eb10ccc3b8036a2975ae13302475d9.tar.xz
rust_3ds-2910e99c89eb10ccc3b8036a2975ae13302475d9.zip
Basic example for compiling Rust for the 3DS as elf
Diffstat (limited to 'rustfmt.toml')
-rw-r--r--rustfmt.toml13
1 files changed, 13 insertions, 0 deletions
diff --git a/rustfmt.toml b/rustfmt.toml
new file mode 100644
index 0000000..ce09ecd
--- /dev/null
+++ b/rustfmt.toml
@@ -0,0 +1,13 @@
+imports_granularity = "Crate"
+
+use_field_init_shorthand = true
+use_try_shorthand = true
+
+normalize_comments = true
+wrap_comments = true
+
+reorder_impl_items = true
+
+match_block_trailing_comma = true
+
+blank_lines_upper_bound = 2