We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a52b41 commit fe295caCopy full SHA for fe295ca
setup_rustfmt_hook.sh
@@ -2,6 +2,7 @@
2
rustup component add rustfmt-preview
3
4
rustfmt_path=`which rustfmt`
5
+mkdir -p .git/hooks
6
echo "#!/bin/bash
7
declare -a rust_files=()
8
files=\$(git diff-index --name-only HEAD)
0 commit comments