Skip to content

Commit

Permalink
docs(Completions): fixes some errors in the completion docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kbknapp committed Jul 1, 2016
1 parent 18fc2e5 commit 9b359bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,7 @@ impl<'a, 'b> App<'a, 'b> {
///
/// use clap::{App, Arg, SubCommand};
///
/// fn build_cli() -> App<'static, 'static> {
/// pub fn build_cli() -> App<'static, 'static> {
/// App::new("compl")
/// .about("Tests completions")
/// .arg(Arg::with_name("file")
Expand All @@ -980,7 +980,7 @@ impl<'a, 'b> App<'a, 'b> {
/// ```ignore
/// src/main.rs
///
/// use cli;
/// mod cli;
///
/// fn main() {
/// let m = cli::build_cli().get_matches();
Expand Down

0 comments on commit 9b359bf

Please sign in to comment.