Skip to content

Commit

Permalink
Support cargo doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
reitermarkus committed Nov 29, 2019
1 parent 0e73121 commit c4e60af
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 c4e60af

Please sign in to comment.