Skip to content

Commit

Permalink
Merge pull request #24 from emacs-rustic/22-clippy-rerun
Browse files Browse the repository at this point in the history
Fix cargo-clippy rerun to remember its arguments
  • Loading branch information
psibi authored Aug 2, 2024
2 parents efa6135 + 519cfc8 commit a44813a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.org
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@
- ~rustic-recompile~ will remember any universal arguments that is
passed to it.
- Fix ~rustic-cargo-upgrade~ in the presence of universal arguments.
- Fix ~rusti-cargo-clippy-rerun~ to use the last used arguments.
2 changes: 1 addition & 1 deletion rustic-clippy.el
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ When calling this function from `rustic-popup-mode', always use the value of
(defun rustic-cargo-clippy-rerun ()
"Run 'cargo clippy' with `rustic-clippy-arguments'."
(interactive)
(rustic-cargo-clippy-run rustic-clippy-arguments))
(rustic-cargo-clippy-run :params rustic-clippy-arguments))

(defun rustic-cargo-clippy-fix (&rest args)
"Run 'clippy fix'."
Expand Down

0 comments on commit a44813a

Please sign in to comment.