summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrotzeit <brotzeitmacher@gmail.com>2018-09-29 10:18:45 +0200
committerbrotzeit <brotzeitmacher@gmail.com>2018-09-29 10:18:45 +0200
commit9154e0ee361b5e20b5be7b5356c2b99286f8e35f (patch)
tree4740ebbc5b3c92861d27ece3452e7985e1d8dee8
parent3613551fefe4dbec3829347685196b177ccf80ff (diff)
downloadrust-mode-9154e0ee361b5e20b5be7b5356c2b99286f8e35f.tar.gz
silence byte-compiler
-rw-r--r--rust-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust-mode.el b/rust-mode.el
index 6317033..6f11c79 100644
--- a/rust-mode.el
+++ b/rust-mode.el
@@ -1574,7 +1574,7 @@ This is written mainly to be used as `end-of-defun-function' for Rust."
(defun rust-before-save-hook ()
(when rust-format-on-save
- (condition-case rustfmt-err
+ (condition-case nil
(rust-format-buffer)
(error nil))))