From beb8525ea427e47a2eb2f035418c06a95071f7eb Mon Sep 17 00:00:00 2001 From: ccQpein Date: Mon, 26 Feb 2024 20:42:36 -0500 Subject: require rust-rustfmt for importing rust-after-save-method defination --- rust-common.el | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3