From 4e2d3d51c94e0e7052d794baf59ff215d2a6688f Mon Sep 17 00:00:00 2001 From: _cry64 Date: Tue, 14 Apr 2026 15:17:20 +1000 Subject: [PATCH] why is rustfmt so silly ;w; --- .rustfmt.toml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.rustfmt.toml b/.rustfmt.toml index d9417d1..70b5be0 100644 --- a/.rustfmt.toml +++ b/.rustfmt.toml @@ -1,9 +1,10 @@ # REF: https://github.com/rust-lang/rustfmt/blob/main/Configurations.md +unstable_features = true array_width = 60 attr_fn_like_width = 70 binop_separator = "Front" # Front|Back blank_lines_lower_bound = 1 -black_lines_upper_bound = 1 +blank_lines_upper_bound = 1 brace_style = "SameLineWhere" # AlwaysNextLine|PreferSameLine|SameLineWhere chain_width = 60 color = "Auto" # Auto|Always|Never @@ -15,8 +16,8 @@ disable_all_formatting = false # hell no edition = "2024" # 2015|2018|2021|2024 empty_item_single_line = true enum_discrim_align_threshold = 20 -error_on_line_overflow = false -error_on_unformatted = true +error_on_line_overflow = false # DEBUG +error_on_unformatted = false # DEBUG fn_call_width = 60 fn_params_layout = "Tall" # Compressed|Tall|Vertical fn_single_line = true @@ -26,13 +27,13 @@ format_code_in_doc_comments = true doc_comment_code_block_width = 100 format_generated_files = true generated_marker_line_search_limit = 5 -format_macro_matches = true +# format_macro_matches = true format_macro_bodies = true skip_macro_invocations = [] format_strings = true hard_tabs = false # fuck tabs hex_literal_case = "Lower" # Preserve|Upper|Lower -float_literal_trailing_zero = "Never" # Preserve|Always|IfNoPostfix|Never +# float_literal_trailing_zero = "Never" # Preserve|Always|IfNoPostfix|Never show_parse_errors = true # ignore = [] # same format as .gitignore imports_indent = "Block" # Block|Visual @@ -41,7 +42,7 @@ indent_style = "Block" # Block|Visual inline_attribute_width = 0 match_arm_blocks = true match_arm_leading_pipes = "Never" # Preserve|Always|Never -match_arm_indent = true +# match_arm_indent = true match_block_trailing_comma = true max_width = 100 merge_derives = true @@ -72,7 +73,6 @@ tab_spaces = 4 trailing_comma = "Always" # Vertical|Always|Never trailing_semicolon = true type_punctuation_density = "Wide" # Compressed|Wide -unstable_features = true use_field_init_shorthand = true use_small_heuristics = "Default" # Default|Off|Max use_try_shorthand = true