summaryrefslogtreecommitdiff
path: root/bin/rustfmt-2018
diff options
context:
space:
mode:
Diffstat (limited to 'bin/rustfmt-2018')
-rwxr-xr-xbin/rustfmt-20184
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/rustfmt-2018 b/bin/rustfmt-2018
new file mode 100755
index 0000000..ec52655
--- /dev/null
+++ b/bin/rustfmt-2018
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+set -eu
+rustfmt --edition 2018 "$@"