Skip to content

Commit

Permalink
Merge #356
Browse files Browse the repository at this point in the history
356: Support `cargo doc`. r=Dylan-DPC a=reitermarkus



Co-authored-by: Markus Reiter <[email protected]>
  • Loading branch information
bors[bot] and reitermarkus authored Nov 29, 2019
2 parents 0e73121 + c4e60af commit 8abf051
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cargo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ use crate::extensions::CommandExt;
pub enum Subcommand {
Build,
Check,
Doc,
Other,
Run,
Rustc,
Expand Down Expand Up @@ -39,6 +40,7 @@ impl<'a> From<&'a str> for Subcommand {
match s {
"build" => Subcommand::Build,
"check" => Subcommand::Check,
"doc" => Subcommand::Doc,
"run" => Subcommand::Run,
"rustc" => Subcommand::Rustc,
"test" => Subcommand::Test,
Expand Down

0 comments on commit 8abf051

Please sign in to comment.