We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0091a29 commit b921e6aCopy full SHA for b921e6a
add_rustfmt_hook.sh
@@ -1,5 +1,7 @@
1
#!/bin/sh
2
3
+# https://gist.github.com/folex/9496c457bcbbef36255a533389da740e
4
+
5
# check that rustfmt installed, or else this hook doesn't make much sense
6
command -v rustfmt >/dev/null 2>&1 || { echo >&2 "Rustfmt is required but it's not installed. Aborting."; exit 1; }
7
0 commit comments