Skip to content

Commit b921e6a

Browse files
committed
add gist url
Change-Id: Ifbf62f6612cf7fd8eea589de92986a2de2a81e15
1 parent 0091a29 commit b921e6a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

add_rustfmt_hook.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/sh
22

3+
# https://gist.github.com/folex/9496c457bcbbef36255a533389da740e
4+
35
# check that rustfmt installed, or else this hook doesn't make much sense
46
command -v rustfmt >/dev/null 2>&1 || { echo >&2 "Rustfmt is required but it's not installed. Aborting."; exit 1; }
57

0 commit comments

Comments
 (0)