From c33cd7c9a1a3e7cc4e2256a3e7ba92d3be4752fa Mon Sep 17 00:00:00 2001 From: michael-bailey Date: Wed, 6 Apr 2022 22:50:04 +0100 Subject: [PATCH] upadted rust fmt rules for imports --- rustfmt.toml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/rustfmt.toml b/rustfmt.toml index 779de58..697b2fd 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -1,2 +1,7 @@ hard_tabs = true -max_width = 90 \ No newline at end of file +max_width = 90 +imports_indent = "Block" +imports_layout = "HorizontalVertical" +imports_granularity = "Crate" +reorder_imports = true +group_imports = "StdExternalCrate" \ No newline at end of file