all: address clippy lints
This commit is contained in:
parent
0e49b33a7f
commit
669d995771
7 changed files with 10 additions and 31 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue