Skip to content

Commit c4e60af

Browse files
committed
Support cargo doc.
1 parent 0e73121 commit c4e60af

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/cargo.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ use crate::extensions::CommandExt;
99
pub enum Subcommand {
1010
Build,
1111
Check,
12+
Doc,
1213
Other,
1314
Run,
1415
Rustc,
@@ -39,6 +40,7 @@ impl<'a> From<&'a str> for Subcommand {
3940
match s {
4041
"build" => Subcommand::Build,
4142
"check" => Subcommand::Check,
43+
"doc" => Subcommand::Doc,
4244
"run" => Subcommand::Run,
4345
"rustc" => Subcommand::Rustc,
4446
"test" => Subcommand::Test,

0 commit comments

Comments
 (0)