Skip to content

Commit

Permalink
Merge pull request #3243 from intgr/fix-clap_complete-documentation-i…
Browse files Browse the repository at this point in the history
…mports

docs(complete): Fix imports in documentation
  • Loading branch information
epage authored Jan 3, 2022
2 parents 879219a + f10c5d1 commit 06f24b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clap_complete/src/generator/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
///
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 06f24b1

Please sign in to comment.