mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 14:52:33 +00:00
Merge pull request #3243 from intgr/fix-clap_complete-documentation-imports
docs(complete): Fix imports in documentation
This commit is contained in:
commit
06f24b174a
1 changed files with 2 additions and 2 deletions
|
@ -124,7 +124,7 @@ pub trait Generator {
|
|||
/// Next, we place a `build.rs` in our project root.
|
||||
///
|
||||
/// ```ignore
|
||||
/// use clap_complete::{generate_to, generators::Bash};
|
||||
/// use clap_complete::{generate_to, shells::Bash};
|
||||
/// use std::env;
|
||||
/// use std::io::Error;
|
||||
///
|
||||
|
@ -195,7 +195,7 @@ where
|
|||
///
|
||||
/// mod cli;
|
||||
/// use std::io;
|
||||
/// use clap_complete::{generate, generators::Bash};
|
||||
/// use clap_complete::{generate, shells::Bash};
|
||||
///
|
||||
/// fn main() {
|
||||
/// let matches = cli::build_cli().get_matches();
|
||||
|
|
Loading…
Reference in a new issue