From 4bb27c6a9f1b3e1183eb6391389670704eeb705b Mon Sep 17 00:00:00 2001 From: rafolsramsel Date: Sun, 27 Apr 2025 17:56:16 +0800 Subject: [PATCH] Update rustfmt.toml --- rustfmt.toml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/rustfmt.toml b/rustfmt.toml index 0762474bcedcdb..7eaa345b0bceba 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -1,9 +1,8 @@ # Get help on options with `rustfmt --help=config` # Please keep these in alphabetical order. -edition = "2021" -format_code_in_doc_comments = true +format_code_in_doc_comments = false group_imports = "StdExternalCrate" -imports_granularity = "Item" -merge_derives = false -style_edition = "2024" +imports_granularity = +merge_derives = true +style_edition = "2025" use_field_init_shorthand = true