summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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