#!/bin/bash for x in `find */src */tests | grep '.rs$' | xargs`; do ~/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustfmt $x; done rm */src/*.bk -f; rm */src/*/*.bk -f;