From 8ea2dccc9ad72df70555c8dc04ee85d6ed49f1a7 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Tue, 9 Jul 2024 17:23:00 +0000 Subject: [PATCH] sort rustfmt Signed-off-by: Jason Volk --- rustfmt.toml | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/rustfmt.toml b/rustfmt.toml index 114677d4..fd912a19 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -1,28 +1,27 @@ -edition = "2021" - +array_width = 80 +chain_width = 60 +comment_width = 80 condense_wildcard_suffixes = true +edition = "2021" +fn_call_width = 80 +fn_params_layout = "Compressed" +fn_single_line = true format_code_in_doc_comments = true format_macro_bodies = true format_macro_matchers = true format_strings = true -hex_literal_case = "Upper" -max_width = 120 -tab_spaces = 4 -array_width = 80 -comment_width = 80 -wrap_comments = true -fn_params_layout = "Compressed" -fn_call_width = 80 -fn_single_line = true +group_imports = "StdExternalCrate" hard_tabs = true -match_block_trailing_comma = true +hex_literal_case = "Upper" imports_granularity = "Crate" +match_block_trailing_comma = true +max_width = 120 +newline_style = "Unix" normalize_comments = false reorder_impl_items = true reorder_imports = true -group_imports = "StdExternalCrate" -newline_style = "Unix" +tab_spaces = 4 use_field_init_shorthand = true use_small_heuristics = "Off" use_try_shorthand = true -chain_width = 60 +wrap_comments = true