We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6886300 commit cffb950Copy full SHA for cffb950
rust-mode.el
@@ -1260,7 +1260,7 @@ This is written mainly to be used as `end-of-defun-function' for Rust."
1260
(if (zerop (call-process-region (point-min) (point-max) rust-rustfmt-bin t t nil))
1261
(progn
1262
(if (not (string= (buffer-string) (with-current-buffer buf (buffer-string))))
1263
- (progn (copy-to-buffer buf (point-min) (point-max))))
+ (copy-to-buffer buf (point-min) (point-max)))
1264
(kill-buffer))
1265
(error "Rustfmt failed, see *rustfmt* buffer for details"))))
1266
0 commit comments