Skip to content

Commit 4a7a860

Browse files
tarsiusbrotzeit
authored andcommitted
Properly markup two additional section headings
1 parent 3fa8f0b commit 4a7a860

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

rust-mode.el

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,8 @@ seen as a macro."
524524
(and (= ?! (char-after))
525525
(rust-looking-back-ident)))))
526526

527-
;; Syntax definitions and helpers
527+
;;; Syntax definitions and helpers
528+
528529
(defun rust-paren-level () (nth 0 (syntax-ppss)))
529530
(defun rust-in-str () (nth 3 (syntax-ppss)))
530531
(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."
16071608
(skip-syntax-forward "\"|")
16081609
(point)))
16091610

1610-
;; Formatting using rustfmt
1611+
;;; Formatting using rustfmt
1612+
16111613
(defconst rust-rustfmt-buffername "*rustfmt*")
16121614

16131615
(defun rust--format-call (buf)

0 commit comments

Comments
 (0)