rustfmt, win_util: update to 2021 edition

These are the only two places still using edition = 2018.

BUG=None
TEST=tools/fmt --check

Change-Id: I32577672d768db51ded66831089f135ffa77ea41
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3680641
Reviewed-by: Anton Romanov <romanton@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
This commit is contained in:
Daniel Verkamp 2022-05-31 12:35:24 -07:00 committed by Chromeos LUCI
parent 3b24bd0a53
commit 8a4b2c448b
2 changed files with 2 additions and 2 deletions

View file

@ -1,3 +1,3 @@
use_field_init_shorthand = true
use_try_shorthand = true
edition = "2018"
edition = "2021"

View file

@ -2,7 +2,7 @@
name = "win_util"
version = "0.1.0"
authors = ["The Chromium OS Authors"]
edition = "2018"
edition = "2021"
[dependencies]
anyhow = "*"