Skip to content

Commit beb8525

Browse files
committed
require rust-rustfmt for importing rust-after-save-method defination
1 parent ade453f commit beb8525

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rust-common.el

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
;; rust-common code for both prog-mode and tree-sitter one
55

66
;;; Code:
7+
(require 'rust-rustfmt)
8+
79
(defcustom rust-before-save-hook 'rust-before-save-method
810
"Function for formatting before save."
911
:type 'function

0 commit comments

Comments
 (0)