diff options
| -rw-r--r-- | rust-mode.el | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/rust-mode.el b/rust-mode.el index 997f2b1..47cbf62 100644 --- a/rust-mode.el +++ b/rust-mode.el @@ -238,13 +238,13 @@ See `prettify-symbols-compose-predicate'." (let ((map (make-sparse-keymap))) (define-key map (kbd "C-c C-d") #'rust-dbg-wrap-or-unwrap) (when rust-load-optional-libraries - (define-key map (kbd "C-c C-c C-u") #'rust-compile) - (define-key map (kbd "C-c C-c C-k") #'rust-check) - (define-key map (kbd "C-c C-c C-t") #'rust-test) - (define-key map (kbd "C-c C-c C-r") #'rust-run) - (define-key map (kbd "C-c C-c C-l") #'rust-run-clippy) - (define-key map (kbd "C-c C-f") #'rust-format-buffer) - (define-key map (kbd "C-c C-n") #'rust-goto-format-problem)) + (define-key map (kbd "C-c C-c C-u") 'rust-compile) + (define-key map (kbd "C-c C-c C-k") 'rust-check) + (define-key map (kbd "C-c C-c C-t") 'rust-test) + (define-key map (kbd "C-c C-c C-r") 'rust-run) + (define-key map (kbd "C-c C-c C-l") 'rust-run-clippy) + (define-key map (kbd "C-c C-f") 'rust-format-buffer) + (define-key map (kbd "C-c C-n") 'rust-goto-format-problem)) map) "Keymap for Rust major mode.") |
