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