diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-09-06 15:27:42 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-09-06 15:27:42 +0300 |
commit | cb4693b806827af6d800d61752e459445ed06296 (patch) | |
tree | 593dfe0d690f62aa30d7400f52e29410037d31d1 /bin | |
parent | c1957d7bcd2c168b786548ad96f87fa0668bf11b (diff) | |
download | liw-dot-files-cb4693b806827af6d800d61752e459445ed06296.tar.gz |
fix(emacs): use a shell wrapper to set 2018 edition for rustfmt
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/rustfmt-2018 | 4 |
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 "$@" |