From 0a7f0ded50ba082f3b8f9d0f87df212203c9ec77 Mon Sep 17 00:00:00 2001 From: Bas Zalmstra Date: Fri, 23 Aug 2024 14:25:26 +0200 Subject: [PATCH] fix: all clippy warnings --- src/bin/generate-cli-docs.rs | 2 +- src/tui/state.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/generate-cli-docs.rs b/src/bin/generate-cli-docs.rs index a6ce8399..7a4ac65d 100644 --- a/src/bin/generate-cli-docs.rs +++ b/src/bin/generate-cli-docs.rs @@ -12,7 +12,7 @@ fn main() { let target_default_platform = format!("Default value: `{}`", Platform::current()); let help = help.replace( target_default_platform.as_str(), - format!("Default value: current platform").as_str(), + "Default value: current platform", ); print!("{}", help); diff --git a/src/tui/state.rs b/src/tui/state.rs index afd89464..d3d05594 100644 --- a/src/tui/state.rs +++ b/src/tui/state.rs @@ -10,7 +10,7 @@ use crate::{ }; /// Representation of a package. -#[derive(Clone, Debug)] +#[derive(Clone)] pub struct Package { pub name: String, pub version: String,