Skip to content

Commit

Permalink
Make Verbosity implement Default
Browse files Browse the repository at this point in the history
This would greatly simplify the unit tests of a new feature that I'm adding to
cargo-semver-checks.
  • Loading branch information
HadrienG2 committed Oct 22, 2023
1 parent c4bfe46 commit 9a10920
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
pub use log::Level;
pub use log::LevelFilter;

#[derive(clap::Args, Debug, Clone)]
#[derive(clap::Args, Debug, Clone, Default)]
pub struct Verbosity<L: LogLevel = ErrorLevel> {
#[arg(
long,
Expand Down

0 comments on commit 9a10920

Please sign in to comment.