Skip to content

Commit a2a69ed

Browse files
themarwhalfacebook-github-bot
authored andcommitted
buck2: remove merge_imports from rustfmt config as it is deprecated (#1)
Summary: Pull Request resolved: #1 Seeing a lot of warnings when running `cargo fmt`, ``` Warning: the `merge_imports` option is deprecated. Use `imports_granularity="Crate"` instead ``` [GitHub issue on the deprecation](rust-lang/rustfmt#3362 (comment)) As we already have the imports_granularity="Item", it seems we can get rid of the deprecated option? Reviewed By: ndmitchell Differential Revision: D37313506 fbshipit-source-id: ce2da68de2dac15df5df3e6803be67baaa42cb15
1 parent a91febc commit a2a69ed

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

rustfmt.toml

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
edition = "2021"
22
version = "Two"
33
imports_granularity = "Item"
4-
merge_imports = true
54
use_field_init_shorthand = true
65
use_try_shorthand = true
76
group_imports = "StdExternalCrate"

0 commit comments

Comments
 (0)