summaryrefslogtreecommitdiff
path: root/rust-rustfmt.el
diff options
context:
space:
mode:
Diffstat (limited to 'rust-rustfmt.el')
-rw-r--r--rust-rustfmt.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/rust-rustfmt.el b/rust-rustfmt.el
index f609980..cab183c 100644
--- a/rust-rustfmt.el
+++ b/rust-rustfmt.el
@@ -87,8 +87,8 @@
(insert-file-contents tmpf)
(rust--format-fix-rustfmt-buffer (buffer-name buf))
(error "Rustfmt failed, see %s buffer for details"
- rust-rustfmt-buffername))))
- (delete-file tmpf))))))
+ rust-rustfmt-buffername)))
+ (delete-file tmpf)))))))
;; Since we run rustfmt through stdin we get <stdin> markers in the
;; output. This replaces them with the buffer name instead.