This website requires JavaScript.
Explore
Help
Sign in
mirrors
/
crosvm
Watch
1
Star
0
Fork
You've already forked crosvm
0
mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced
2024-11-29 03:00:19 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
2d2eec381b
crosvm
/
.rustfmt.toml
4 lines
74 B
TOML
Raw
Normal View
History
Unescape
Escape
Add basic rustfmt config Enable two optional features: - Swapping try for '?' - Shortening "name = name," to "name," in member initialization. Signed-off-by: Dylan Reid <dgreid@chromium.org> Change-Id: I8e29eb01f10451cd2a549a699de07f651cc4af0f Reviewed-on: https://chromium-review.googlesource.com/1226224 Reviewed-by: Zach Reizner <zachr@chromium.org>
2018-09-14 01:25:14 +00:00
use_field_init_shorthand
=
true
use_try_shorthand
=
true
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>
2022-05-31 19:35:24 +00:00
edition
=
"2021"
Reference in a new issue
Copy permalink