Skip to content

Commit

Permalink
clippy: Fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsJamie9494 committed Dec 31, 2024
1 parent 68e0c09 commit 01650df
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/api/package.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,16 @@ pub async fn get_package_by_name(
ids,
archs,
name: first.name, // Is always the same
version: if version_differ { "Versions Differ".to_string() } else { first.version },
release: if release_differ { "Releases Differ".to_string() } else { first.release },
version: if version_differ {
"Versions Differ".to_string()
} else {
first.version
},
release: if release_differ {
"Releases Differ".to_string()
} else {
first.release
},
summary: first.summary,
description: first.description,
url: first.url,
Expand Down

0 comments on commit 01650df

Please sign in to comment.