7 lines
97 B
Bash
Executable File

#! /bin/bash
set -e
rustfmt --version
find -name "*.rs" -exec rustfmt "$@" --edition 2021 {} +