Skip to content

Commit

Permalink
refactor(derive): Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Nov 7, 2022
1 parent 5ee9e0f commit 73be1fe
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions clap_derive/src/item.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,6 @@ impl Item {
"methods are not allowed for flattened entry"
);
}

// ignore doc comments
res.doc_comment = vec![];
}

Kind::Subcommand(_)
Expand Down Expand Up @@ -231,9 +228,6 @@ impl Item {
"methods are not allowed for flattened entry"
);
}

// ignore doc comments
res.doc_comment = vec![];
}

Kind::Subcommand(_) => {
Expand Down

0 comments on commit 73be1fe

Please sign in to comment.