summaryrefslogtreecommitdiff
path: root/rust-mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'rust-mode.el')
-rw-r--r--rust-mode.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/rust-mode.el b/rust-mode.el
index 9e8213c..498481f 100644
--- a/rust-mode.el
+++ b/rust-mode.el
@@ -524,7 +524,8 @@ seen as a macro."
(and (= ?! (char-after))
(rust-looking-back-ident)))))
-;; Syntax definitions and helpers
+;;; Syntax definitions and helpers
+
(defun rust-paren-level () (nth 0 (syntax-ppss)))
(defun rust-in-str () (nth 3 (syntax-ppss)))
(defun rust-in-str-or-cmnt () (nth 8 (syntax-ppss)))
@@ -1607,7 +1608,8 @@ This is written mainly to be used as `end-of-defun-function' for Rust."
(skip-syntax-forward "\"|")
(point)))
-;; Formatting using rustfmt
+;;; Formatting using rustfmt
+
(defconst rust-rustfmt-buffername "*rustfmt*")
(defun rust--format-call (buf)