Skip to content

Commit 9154e0e

Browse files
committed
silence byte-compiler
1 parent 3613551 commit 9154e0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1574,7 +1574,7 @@ This is written mainly to be used as `end-of-defun-function' for Rust."
15741574

15751575
(defun rust-before-save-hook ()
15761576
(when rust-format-on-save
1577-
(condition-case rustfmt-err
1577+
(condition-case nil
15781578
(rust-format-buffer)
15791579
(error nil))))
15801580

0 commit comments

Comments
 (0)