Skip to content

Commit

Permalink
nmu-t64: fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastinas committed Mar 31, 2024
1 parent 27f3e2c commit 441a1bf
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/nmu_t64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,19 +188,14 @@ impl Iterator for BinaryPackageParser<'_> {

impl FusedIterator for BinaryPackageParser<'_> {}

#[derive(Deserialize, PartialEq, Eq)]
#[derive(Deserialize, PartialEq, Eq, Default)]
#[serde(rename_all = "lowercase")]
enum ExtraSourceOnly {
#[default]
No,
Yes,
}

impl Default for ExtraSourceOnly {
fn default() -> Self {
ExtraSourceOnly::No
}
}

#[derive(Deserialize)]
#[serde(rename_all = "PascalCase")]
struct SourcePackage {
Expand Down

0 comments on commit 441a1bf

Please sign in to comment.