Skip to content

Commit 52bf716

Browse files
committed
Fix linter reported issues.
1 parent f9db24e commit 52bf716

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rust-playground.el

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
;; Author: Alexander I.Grafov <[email protected]>
66
;; URL: https://github.com/grafov/rust-playground
77
;; Keywords: tools, rust
8-
;; Package-Requires: ((emacs "24") (rust-mode "0.3.0"))
8+
;; Package-Requires: ((emacs "24.3") (rust-mode "0.3.0"))
99

1010
;; This program is free software; you can redistribute it and/or modify
1111
;; it under the terms of the GNU General Public License as published by
@@ -41,7 +41,7 @@
4141
(require 'time-stamp)
4242

4343
; I think it should be defined in rust-mode.
44-
(defcustom rust-bin "rustc"
44+
(defcustom rust-playground-bin "rustc"
4545
"The ’rust’ command."
4646
:type 'string
4747
:group 'rust-mode)
@@ -89,7 +89,7 @@ By default confirmation required."
8989
(make-local-variable 'compile-command)
9090
(let ((snippet-file buffer-file-name))
9191
(save-buffer t)
92-
(compile (concat rust-bin " " snippet-file " -o snippet && " (file-name-directory snippet-file) "snippet"))))
92+
(compile (concat rust-playground-bin " " snippet-file " -o snippet && " (file-name-directory snippet-file) "snippet"))))
9393

9494
;;;###autoload
9595
(defun rust-playground ()

0 commit comments

Comments
 (0)