diff --git a/modules/lang/rust/config.el b/modules/lang/rust/config.el index 68298e449..8cdbf43ea 100644 --- a/modules/lang/rust/config.el +++ b/modules/lang/rust/config.el @@ -67,7 +67,7 @@ :init ;; HACK Fix #2132: `racer' depends on `rust-mode', which tries to modify ;; `auto-mode-alist'. We make extra sure that doesn't stick, especially - ;; when a buffer is reverted, as it is after rustfmt is done wiht it. + ;; when a buffer is reverted, as it is after rustfmt is done with it. (after! rust-mode (setq auto-mode-alist (delete '("\\.rs\\'" . rust-mode) auto-mode-alist))) :config