crosvm/.rustfmt.toml
Keiichi Watanabe c664ea24d5 rustfmt.toml: Use 2018 edition
rustfmt uses 2015 edition by default in which async functions cannot be
formatted well. So, we should specify 2018 explicitly.

BUG=none
TEST=cargo fmt

Change-Id: Iaa604c78d028c5abeaab87a62ea39ee65e8aae14
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2683937
Tested-by: Keiichi Watanabe <keiichiw@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: Keiichi Watanabe <keiichiw@chromium.org>
Reviewed-by: Chirantan Ekbote <chirantan@chromium.org>
2021-02-10 11:54:06 +00:00

3 lines
74 B
TOML

use_field_init_shorthand = true
use_try_shorthand = true
edition = "2018"