Skip to content

Commit f10c5d1

Browse files
committed
docs(complete): Fix imports in documentation
Use `shells::Bash` instead of `generators::Bash`
1 parent 879219a commit f10c5d1

File tree

1 file changed

+2
-2
lines changed
  • clap_complete/src/generator

1 file changed

+2
-2
lines changed

clap_complete/src/generator/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ pub trait Generator {
124124
/// Next, we place a `build.rs` in our project root.
125125
///
126126
/// ```ignore
127-
/// use clap_complete::{generate_to, generators::Bash};
127+
/// use clap_complete::{generate_to, shells::Bash};
128128
/// use std::env;
129129
/// use std::io::Error;
130130
///
@@ -195,7 +195,7 @@ where
195195
///
196196
/// mod cli;
197197
/// use std::io;
198-
/// use clap_complete::{generate, generators::Bash};
198+
/// use clap_complete::{generate, shells::Bash};
199199
///
200200
/// fn main() {
201201
/// let matches = cli::build_cli().get_matches();

0 commit comments

Comments
 (0)