mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-01-29 03:35:36 +00:00
README: update rustfmt guidance to format all code
BUG=None TEST=`cargo fmt` and make sure nothing changes Change-Id: Ic5a832710074d13a40f1ca0c28e9f5124fb2a5a3 Signed-off-by: Daniel Verkamp <dverkamp@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1273689 Reviewed-by: Zach Reizner <zachr@chromium.org>
This commit is contained in:
parent
310b308166
commit
c968aa995a
1 changed files with 2 additions and 3 deletions
|
@ -138,9 +138,8 @@ for each architecture. See `build_test -h` for more information.
|
|||
|
||||
#### `rustfmt`
|
||||
|
||||
New code should be run with `rustfmt`, but not all currently checked in code has
|
||||
already been autoformatted. If running `rustfmt` causes a lot of churn for a
|
||||
file, do not check in lines unrelated to your change.
|
||||
All code should be formatted with `rustfmt`. Run `cargo fmt --all` to autoformat
|
||||
your code before checking in a change.
|
||||
|
||||
#### Dependencies
|
||||
|
||||
|
|
Loading…
Reference in a new issue