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,