Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions rustic-cargo.el
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ If running with prefix command `C-u', read whole command from minibuffer."
(interactive "P")
(let* ((command (if arg
(read-from-minibuffer "Cargo add command: "
(rustic-cargo-bin) " add ")
(format "%s %s"(rustic-cargo-bin) "add"))
(concat (rustic-cargo-bin) " add "
(read-from-minibuffer "Crate: ")))))
(rustic-run-cargo-command command)))
Expand Down Expand Up @@ -848,7 +848,7 @@ If running with prefix command `C-u', read whole command from minibuffer."
(interactive "P")
(let* ((command (if arg
(read-from-minibuffer "Cargo rm command: "
(rustic-cargo-bin) " rm ")
(format "%s %s"(rustic-cargo-bin) "rm"))
(concat (rustic-cargo-bin) " rm "
(read-from-minibuffer "Crate: ")))))
(rustic-run-cargo-command command)))
Expand All @@ -860,7 +860,7 @@ If running with prefix command `C-u', read whole command from minibuffer."
(interactive "P")
(let* ((command (if arg
(read-from-minibuffer "Cargo upgrade command: "
(rustic-cargo-bin) " upgrade ")
(format "%s %s"(rustic-cargo-bin) "upgrade"))
(concat (rustic-cargo-bin) " upgrade"))))
(rustic-run-cargo-command command)))

Expand Down