summaryrefslogtreecommitdiff
path: root/rust-mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'rust-mode.el')
-rw-r--r--rust-mode.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/rust-mode.el b/rust-mode.el
index bad1ea5..a3b7581 100644
--- a/rust-mode.el
+++ b/rust-mode.el
@@ -300,7 +300,8 @@
(let
((fill-paragraph-function
(if (not (eq fill-paragraph-function 'rust-fill-paragraph))
- fill-paragraph-function)))
+ fill-paragraph-function))
+ (fill-paragraph-handle-comment t))
(apply 'fill-paragraph args)
t))))))