Skip to content

Commit

Permalink
fix: all clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
baszalmstra committed Aug 23, 2024
1 parent 91ca7d3 commit 0a7f0de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bin/generate-cli-docs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/tui/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use crate::{
};

/// Representation of a package.
#[derive(Clone, Debug)]
#[derive(Clone)]
pub struct Package {
pub name: String,
pub version: String,
Expand Down

0 comments on commit 0a7f0de

Please sign in to comment.