summaryrefslogtreecommitdiffstats
path: root/third_party/rust/bytemuck/rustfmt.toml
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/rust/bytemuck/rustfmt.toml')
-rw-r--r--third_party/rust/bytemuck/rustfmt.toml8
1 files changed, 8 insertions, 0 deletions
diff --git a/third_party/rust/bytemuck/rustfmt.toml b/third_party/rust/bytemuck/rustfmt.toml
new file mode 100644
index 0000000000..50860b8230
--- /dev/null
+++ b/third_party/rust/bytemuck/rustfmt.toml
@@ -0,0 +1,8 @@
+error_on_line_overflow = false
+merge_imports = true
+reorder_imports = true
+use_try_shorthand = true
+tab_spaces = 2
+max_width = 80
+color = "Never"
+use_small_heuristics = "Max"