rustfmt: add rules for imports

Tests: presubmit
Change-Id: I37a5ef640c27952d63023e881445240e8d50dbc4
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4889711
Reviewed-by: Dennis Kempin <denniskempin@google.com>
Commit-Queue: Kaiyi Li <kaiyili@google.com>
This commit is contained in:
Kaiyi Li 2023-09-25 06:41:44 -07:00 committed by crosvm LUCI
parent b4a746124b
commit f5f905590d

View file

@ -1,3 +1,5 @@
imports_granularity = "item"
group_imports = "StdExternalCrate"
use_field_init_shorthand = true
use_try_shorthand = true
edition = "2021"