mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 06:42:33 +00:00
perf(derive): Don't parse ValueEnum's doc comment to ignore it
This commit is contained in:
parent
eece51fe04
commit
1d973bd1c1
1 changed files with 2 additions and 1 deletions
|
@ -96,7 +96,8 @@ impl Item {
|
|||
let parsed_attrs = ClapAttr::parse_all(attrs);
|
||||
res.infer_kind(&parsed_attrs);
|
||||
res.push_attrs(&parsed_attrs);
|
||||
res.push_doc_comment(attrs, "about");
|
||||
// Ignoring `push_doc_comment` as there is no top-level clap builder to add documentation
|
||||
// to
|
||||
|
||||
res
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue