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:
Daniel Verkamp 2018-10-10 10:02:00 -07:00 committed by chrome-bot
parent 310b308166
commit c968aa995a

View file

@ -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