Merge pull request #3243 from intgr/fix-clap_complete-documentation-imports

docs(complete): Fix imports in documentation
This commit is contained in:
Ed Page 2022-01-03 06:27:04 -06:00 committed by GitHub
commit 06f24b174a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();