summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsaruman9 <rum.274.4@gmail.com>2021-02-10 08:21:51 +0300
committersaruman9 <rum.274.4@gmail.com>2021-02-10 08:21:51 +0300
commit4afe3ce54aab3d614f9a17801cd53090ac587819 (patch)
treef2a74c84bc49b4c034cafe5650bd18ea97ae5d96
parent5af822c5691a772cad36bd9a69e94419b03d4511 (diff)
Replace deprecated option `merge_imports` for rustfmt
-rw-r--r--rustfmt.toml4
1 files changed, 2 insertions, 2 deletions
diff --git a/rustfmt.toml b/rustfmt.toml
index 899a094..35ca786 100644
--- a/rustfmt.toml
+++ b/rustfmt.toml
@@ -1,4 +1,4 @@
# https://github.com/rust-lang/rustfmt/blob/master/Configurations.md#fn_args_layout
fn_args_layout = "Vertical"
-# https://github.com/rust-lang/rustfmt/blob/master/Configurations.md#merge_imports
-merge_imports = true \ No newline at end of file
+# https://github.com/rust-lang/rustfmt/blob/master/Configurations.md#imports_granularity
+imports_granularity="Crate" \ No newline at end of file