Skip to content

Commit

Permalink
Merge pull request clap-rs#4610 from tgross35/patch-1
Browse files Browse the repository at this point in the history
Fix example that as runtime panic. Relates to clap-rs#3864
  • Loading branch information
epage committed Jan 7, 2023
2 parents 7d57df5 + c062182 commit ac6b4cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/derive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ pub trait FromArgMatches: Sized {
/// #[derive(clap::Args)]
/// struct LogArgs {
/// #[arg(long, short = 'v', action = clap::ArgAction::Count)]
/// verbose: i8,
/// verbose: u8,
/// }
/// ```
pub trait Args: FromArgMatches + Sized {
Expand Down

0 comments on commit ac6b4cd

Please sign in to comment.