From 9a10920843c2b52cb72708ccd75d1d75ffb970a6 Mon Sep 17 00:00:00 2001 From: "Hadrien G." Date: Sun, 22 Oct 2023 19:11:55 +0200 Subject: [PATCH] Make Verbosity implement Default This would greatly simplify the unit tests of a new feature that I'm adding to cargo-semver-checks. --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 4b13d90..069ef25 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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 { #[arg( long,