Skip to content

Commit

Permalink
docs(complete): Fix imports in documentation
Browse files Browse the repository at this point in the history
Use `shells::Bash` instead of `generators::Bash`
  • Loading branch information
intgr committed Jan 2, 2022
1 parent 879219a commit f10c5d1
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 f10c5d1

Please sign in to comment.