branch: elpa/rust-mode
commit 9154e0ee361b5e20b5be7b5356c2b99286f8e35f
Author: brotzeit <[email protected]>
Commit: brotzeit <[email protected]>
silence byte-compiler
---
rust-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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))))