summaryrefslogtreecommitdiff
path: root/rust-prog-mode.el
diff options
context:
space:
mode:
authorBenjamin Moody <benjaminmoody@gmail.com>2024-11-02 20:25:53 -0400
committerBenjamin Moody <benjaminmoody@gmail.com>2024-11-02 20:25:53 -0400
commit3d2b40f39eb721e21ecdbff15a596991b5e4da8a (patch)
treee2f96f484666d6fe6f63dc497feeefc2b1c29470 /rust-prog-mode.el
parent36430829381e803cb5870a11674d4982738cbad9 (diff)
downloadrust-mode-3d2b40f39eb721e21ecdbff15a596991b5e4da8a.tar.gz
Use rust-doc-indent-line as the indentation function.
Diffstat (limited to 'rust-prog-mode.el')
-rw-r--r--rust-prog-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust-prog-mode.el b/rust-prog-mode.el
index 6d4adba..5ba16ab 100644
--- a/rust-prog-mode.el
+++ b/rust-prog-mode.el
@@ -1574,7 +1574,7 @@ whichever comes first."
(setq-local syntax-propertize-function #'rust-syntax-propertize)
;; Indentation
- (setq-local indent-line-function 'rust-mode-indent-line)
+ (setq-local indent-line-function 'rust-doc-indent-line)
;; Fonts
(setq-local font-lock-defaults