diff --git a/rustfmt.toml b/rustfmt.toml index 55d1bb5ff2c..8b85dd3c946 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -47,3 +47,6 @@ tab_spaces = 4 # Use field initialize shorthand if possible. # https://github.com/rust-lang/rustfmt/blob/master/Configurations.md#use_field_init_shorthand use_field_init_shorthand = true + +# Automatic grouping and ordering +group_imports = "StdExternalCrate"