Skip to content

Commit

Permalink
chore: cargo clippy fix
Browse files Browse the repository at this point in the history
for Rust 2024, ref: rust-lang/rust#123748

Signed-off-by: Chawye Hsu <[email protected]>
  • Loading branch information
chawyehsu committed Dec 9, 2024
1 parent 141d18f commit 5365a4f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/libscoop/src/package/manifest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ impl<'de> Deserialize<'de> for License {
"url" => url = Some(value),
_ => {
// skip invalid fields
map.next_value()?;
map.next_value::<serde_json::Value>()?;
continue;
}
}
Expand Down Expand Up @@ -560,7 +560,7 @@ impl<'de> Deserialize<'de> for Sourceforge {
"path" => path = Ok(value),
_ => {
// skip invalid fields
map.next_value()?;
map.next_value::<serde_json::Value>()?;
continue;
}
}
Expand Down Expand Up @@ -670,7 +670,7 @@ impl<'de> Deserialize<'de> for Checkver {
"sourceforge" => sourceforge = Some(map.next_value()?),
_ => {
// skip invalid fields
map.next_value()?;
map.next_value::<serde_json::Value>()?;
continue;
}
}
Expand Down

0 comments on commit 5365a4f

Please sign in to comment.