mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-01-28 19:29:20 +00:00
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>
This commit is contained in:
parent
5e8406549f
commit
9fbac2cf59
1 changed files with 2 additions and 0 deletions
2
.rustfmt.toml
Normal file
2
.rustfmt.toml
Normal file
|
@ -0,0 +1,2 @@
|
|||
use_field_init_shorthand = true
|
||||
use_try_shorthand = true
|
Loading…
Reference in a new issue