Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IntoApp docs #3284

Closed
2 tasks done
nipunn1313 opened this issue Jan 11, 2022 · 1 comment
Closed
2 tasks done

IntoApp docs #3284

nipunn1313 opened this issue Jan 11, 2022 · 1 comment
Labels
C-bug Category: Updating dependencies

Comments

@nipunn1313
Copy link

Please complete the following tasks

  • I have searched the discussions
  • I have searched the existing issues

Rust Version

rustc 1.58.0-nightly (b426445c6 2021-11-24)

Clap Version

3.0.6

Minimal reproducible code

Docs in https://docs.rs/clap/latest/clap/trait.IntoApp.html indicate that it's derived on Parser, Args, and Subcommand, but afaict it's only derived on Parser. Came across it while trying to figure out if it was possible to do MySubcommand::into_app().debug_assert()

Steps to reproduce the bug with the above code

It's a doc bug

Actual Behaviour

see above

Expected Behaviour

Docs should be consistent.

Additional Context

No response

Debug Output

No response

@nipunn1313 nipunn1313 added the C-bug Category: Updating dependencies label Jan 11, 2022
@epage epage closed this as completed in b98e8ec Jan 12, 2022
@epage
Copy link
Member

epage commented Jan 12, 2022

Thanks for calling this out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: Updating dependencies
Projects
None yet
Development

No branches or pull requests

2 participants