From 8a4b2c448b9083292bc1f08d73ae316bf0c36efa Mon Sep 17 00:00:00 2001 From: Daniel Verkamp Date: Tue, 31 May 2022 12:35:24 -0700 Subject: [PATCH] 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 Tested-by: kokoro Commit-Queue: Daniel Verkamp --- .rustfmt.toml | 2 +- win_util/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.rustfmt.toml b/.rustfmt.toml index 7effbf88ca..33b356d5f1 100644 --- a/.rustfmt.toml +++ b/.rustfmt.toml @@ -1,3 +1,3 @@ use_field_init_shorthand = true use_try_shorthand = true -edition = "2018" +edition = "2021" diff --git a/win_util/Cargo.toml b/win_util/Cargo.toml index 70b412e42f..a6ba348f69 100644 --- a/win_util/Cargo.toml +++ b/win_util/Cargo.toml @@ -2,7 +2,7 @@ name = "win_util" version = "0.1.0" authors = ["The Chromium OS Authors"] -edition = "2018" +edition = "2021" [dependencies] anyhow = "*"