Skip to content

Commit

Permalink
tests(AllowNegativeNumber): fixes failing doc test
Browse files Browse the repository at this point in the history
  • Loading branch information
kbknapp committed Oct 21, 2016
1 parent 2d2ec03 commit 9936223
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ pub enum AppSettings {
/// # Examples
///
/// ```rust
/// # use clap::{App, AppSettings, ErrorKind};
/// # use clap::{App, Arg, AppSettings};
/// let res = App::new("myprog")
/// .version("v1.1")
/// .setting(AppSettings::AllowNegativeNumbers)
Expand Down

0 comments on commit 9936223

Please sign in to comment.