misc: Fix beta clippy issues

Fixed with 'cargo clippy --fix' mostly.

Signed-off-by: Bo Chen <bchen@crusoe.ai>
This commit is contained in:
Bo Chen
2025-09-17 00:01:47 +00:00
parent 10fb713218
commit f122398262
3 changed files with 10 additions and 26 deletions

View File

@@ -1229,18 +1229,14 @@ impl Guest {
}
}
#[derive(Default)]
pub enum VerbosityLevel {
#[default]
Warn,
Info,
Debug,
}
impl Default for VerbosityLevel {
fn default() -> Self {
Self::Warn
}
}
impl Display for VerbosityLevel {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
use VerbosityLevel::*;