Skip to content

Commit 8abf051

Browse files
Merge #356
356: Support `cargo doc`. r=Dylan-DPC a=reitermarkus Co-authored-by: Markus Reiter <me@reitermark.us>
2 parents 0e73121 + c4e60af commit 8abf051

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)