From c968aa995a596f94e6e73d8cf80e9ced6e48f9b5 Mon Sep 17 00:00:00 2001 From: Daniel Verkamp Date: Wed, 10 Oct 2018 10:02:00 -0700 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/1273689 Reviewed-by: Zach Reizner --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 709a317..0541c49 100644 --- a/README.md +++ b/README.md @@ -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 -- cgit 1.4.1