Skip to content

Commit cffb950

Browse files
committed
[master] Remove redundant progn.
1 parent 6886300 commit cffb950

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
@@ -1260,7 +1260,7 @@ This is written mainly to be used as `end-of-defun-function' for Rust."
12601260
(if (zerop (call-process-region (point-min) (point-max) rust-rustfmt-bin t t nil))
12611261
(progn
12621262
(if (not (string= (buffer-string) (with-current-buffer buf (buffer-string))))
1263-
(progn (copy-to-buffer buf (point-min) (point-max))))
1263+
(copy-to-buffer buf (point-min) (point-max)))
12641264
(kill-buffer))
12651265
(error "Rustfmt failed, see *rustfmt* buffer for details"))))
12661266

0 commit comments

Comments
 (0)