summaryrefslogtreecommitdiff
path: root/rust-common.el
diff options
context:
space:
mode:
Diffstat (limited to 'rust-common.el')
-rw-r--r--rust-common.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/rust-common.el b/rust-common.el
index c216264..b7dd695 100644
--- a/rust-common.el
+++ b/rust-common.el
@@ -4,6 +4,8 @@
;; rust-common code for both prog-mode and tree-sitter one
;;; Code:
+(require 'rust-rustfmt)
+
(defcustom rust-before-save-hook 'rust-before-save-method
"Function for formatting before save."
:type 'function