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