summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSibi Prabakaran <sibi@psibi.in>2024-02-28 07:35:16 +0530
committerGitHub <noreply@github.com>2024-02-28 07:35:16 +0530
commit73e6e4ef891affba87d08021cbc25cdc084ce290 (patch)
tree494541d63085cccb7bd6ddba65790bad5dc49c9f
parentade453f95e95a3fb6ae90204e51571008fd25d48 (diff)
parentbeb8525ea427e47a2eb2f035418c06a95071f7eb (diff)
downloadrust-mode-73e6e4ef891affba87d08021cbc25cdc084ce290.tar.gz
Merge pull request #519 from ccqpein/master
Fix undefined function
-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