diff options
Diffstat (limited to 'rust-mode.el')
| -rw-r--r-- | rust-mode.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rust-mode.el b/rust-mode.el index 773251d..ebc2bbc 100644 --- a/rust-mode.el +++ b/rust-mode.el @@ -227,7 +227,8 @@ See `prettify-symbols-compose-predicate'." (pcase match ("||" (not (save-excursion (goto-char start) - (looking-back "\\(?:\\<move\\|[[({:=,;]\\) *")))) + (looking-back "\\(?:\\<move\\|[[({:=,;]\\) *" + (line-beginning-position))))) ("&&" (char-equal (char-after end) ?\s)) (_ t)))) |
