summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Oram <dev@mitmaro.ca>2019-07-24 10:21:49 -0230
committerTim Oram <dev@mitmaro.ca>2019-07-24 16:19:02 -0230
commit343085c6ed52fca581a2fa55109bb830f30c46c8 (patch)
treef3b26156983f0e3072876694a2367c0da3a916e3
parentf09bf158ebc6758ea7dd00c0e4de69906da397ff (diff)
Rust Format update
-rw-r--r--.rustfmt.toml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.rustfmt.toml b/.rustfmt.toml
index 1192df2..4696eba 100644
--- a/.rustfmt.toml
+++ b/.rustfmt.toml
@@ -1,5 +1,5 @@
indent_style = "block"
-# use_small_heuristics
+use_small_heuristics = "Default"
binop_separator = "Front"
combine_control_expr = false
comment_width = 120
@@ -8,7 +8,7 @@ control_brace_style = "ClosingNextLine"
disable_all_formatting = false
error_on_line_overflow = true
error_on_unformatted = true
-fn_args_density = "Tall"
+fn_args_layout = "Tall"
brace_style = "SameLineWhere"
empty_item_single_line = true
enum_discrim_align_threshold = 0
@@ -39,14 +39,14 @@ space_after_colon = true
space_before_colon = false
struct_field_align_threshold = 0
spaces_around_ranges = false
+struct_lit_single_line = true
tab_spaces = 4
trailing_comma = "Vertical"
trailing_semicolon = true
type_punctuation_density = "Wide"
use_field_init_shorthand = true
use_try_shorthand = true
-format_doc_comments = true
-struct_lit_single_line = true
+format_code_in_doc_comments = true
wrap_comments = true
match_arm_blocks = true
overflow_delimited_expr = true