Skip to content

Commit

Permalink
Merge pull request #610 from mozilla/fix_clippy_may2024
Browse files Browse the repository at this point in the history
Fix clippy
  • Loading branch information
mystor committed May 22, 2024
2 parents ac9a882 + 60cc483 commit 11690df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,7 @@ impl FromStr for GraphFilter {
})?;
Ok((rest, val))
}
fn ws<'a, F: 'a, O, E: ParseError<&'a str>>(
fn ws<'a, F, O, E: ParseError<&'a str>>(
inner: F,
) -> impl FnMut(&'a str) -> IResult<&'a str, O, E>
where
Expand Down
2 changes: 1 addition & 1 deletion src/resolver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1808,7 +1808,7 @@ impl<'a> ResolveReport<'a> {
{
exact_version = true;
publisher_id
} else if store.audits.trusted.get(package.name).is_none() {
} else if !store.audits.trusted.contains_key(package.name) {
cache
.get_cached_publishers(package.name)
.iter()
Expand Down

0 comments on commit 11690df

Please sign in to comment.