diff --git a/src/etc/emacs/rust-mode.el b/src/etc/emacs/rust-mode.el index bf5fec39f828d..d67a1e9ddc13b 100644 --- a/src/etc/emacs/rust-mode.el +++ b/src/etc/emacs/rust-mode.el @@ -17,6 +17,7 @@ ;; Strings (modify-syntax-entry ?\" "\"" table) + (modify-syntax-entry ?\' "\"" table) (modify-syntax-entry ?\\ "\\" table) ;; _ is a word-char