Merge pull request #5689 from a-kenji/fix-typo

fix: Typos in documentation to `CompleteEnv`
This commit is contained in:
Ed Page 2024-08-20 15:19:07 -05:00 committed by GitHub
commit 87647d268c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -64,8 +64,8 @@ pub use shells::*;
/// Environment-activated completions for your CLI
///
/// Benefits over CLI a completion argument or subcommand
/// - Performance: we don't need to general [`clap::Command`] twice or parse arguments
/// Benefits over a CLI completion argument or subcommand
/// - Performance: we don't need to generate [`clap::Command`] twice or parse arguments
/// - Flexibility: there is no concern over it interfering with other CLI logic
///
/// **Warning:** `stdout` should not be written to before [`CompleteEnv::complete`] has had a