diff --git a/bin/fmt b/bin/fmt index 7221347662..60070dddc6 100755 --- a/bin/fmt +++ b/bin/fmt @@ -26,4 +26,4 @@ cd "$(dirname "${BASH_SOURCE[0]}")" # Jump up to root directory of crosvm repo. cd .. -find . -name '*.rs' -print0 | grep -vz '^./target/' | xargs -0 rustfmt "$@" -- +find . -name '*.rs' -print0 | grep -vz '^./target/' | xargs -0 rustfmt --edition=2018 "$@" --