We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd231ed commit e2e713eCopy full SHA for e2e713e
rust-mode.el
@@ -80,7 +80,7 @@ Like `looking-back' but for fixed strings rather than regexps (so that it's not
80
81
(defun rust-looking-back-macro ()
82
"Non-nil if looking back at an ident followed by a !"
83
- (if (> (point) 2)
+ (if (> (- (point) (point-min)) 1)
84
(save-excursion (backward-char) (and (= ?! (char-after)) (rust-looking-back-ident)))))
85
86
;; Syntax definitions and helpers
0 commit comments