diff options
| -rw-r--r-- | rust-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust-mode.el b/rust-mode.el index 47cbf62..80106b8 100644 --- a/rust-mode.el +++ b/rust-mode.el @@ -734,7 +734,7 @@ buffer." (while (and (or (rust-in-str-or-cmnt) ;; Only whitespace (or nothing) from the beginning to ;; the end of the line. - (looking-back "^\s*" (point-at-bol))) + (looking-back "^\s*" (line-beginning-position))) (= (rust-paren-level) level)) (forward-line -1) (end-of-line))) |
