summaryrefslogtreecommitdiffstats
path: root/lisp/init-rust.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/init-rust.el')
-rw-r--r--lisp/init-rust.el7
1 files changed, 0 insertions, 7 deletions
diff --git a/lisp/init-rust.el b/lisp/init-rust.el
index 0391cb7..d56d37b 100644
--- a/lisp/init-rust.el
+++ b/lisp/init-rust.el
@@ -5,15 +5,8 @@
(use-package rust-mode
:ensure t
- :init
- (when (executable-find "rustfmt")
- (setq rust-format-on-save t))
-
:hook (rust-mode . rust-mode-buffer-local-variables)
-
:bind (:map rust-mode-map
- ;; C-c f runs rustfmt on the buffer
- ("C-c f" . rust-format-buffer)
("C-c l" . rust-clippy)
("C-c t" . rust-test)
("C-c R" . rust-run)))