rustfmt: set group_imports to StdExternalCrate

Summary:
The `group_imports = "StdExternalCrate"` config might be a bit controversial
since some might prefer a single block. However, the only automated option
by rustfmt is StdExternalCrate. The single block behavior isn't a choice.

Forcing this makes the codebase a bit more consistent.

Reviewed By: yancouto

Differential Revision: D31746732

fbshipit-source-id: b3fc3a7ee20302ece585c8ac3c4f189b25bc1425
This commit is contained in:
Jun Wu 2021-10-19 11:05:23 -07:00 committed by Facebook GitHub Bot
parent f3ae5e8045
commit bafd80784e

View File

@ -10,3 +10,6 @@ use_field_init_shorthand = true
# To minimize conflicts, and make things easier to grep.
imports_granularity = "Item"
# To force an automatic order of use statements.
group_imports = "StdExternalCrate"