1
0
Fork 0
forked from wry/wry

all: address clippy lints

This commit is contained in:
Julian Orth 2025-11-28 13:32:02 +01:00
parent 0e49b33a7f
commit 669d995771
7 changed files with 10 additions and 31 deletions

View file

@ -191,10 +191,11 @@ pub enum CliBackend {
Metal,
}
#[derive(ValueEnum, Debug, Copy, Clone, Hash)]
#[derive(ValueEnum, Debug, Copy, Clone, Hash, Default)]
pub enum CliLogLevel {
Trace,
Debug,
#[default]
Info,
Warn,
Error,
@ -212,12 +213,6 @@ impl Into<Level> for CliLogLevel {
}
}
impl Default for CliLogLevel {
fn default() -> Self {
Self::Info
}
}
#[derive(Args, Debug)]
pub struct GenerateArgs {
/// The shell to generate completions for