Skip to content

Commit

Permalink
Fix clippy::partialeq_to_none
Browse files Browse the repository at this point in the history
  • Loading branch information
cuviper committed Mar 24, 2024
1 parent 443dfa2 commit c7fdf5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iter/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ fn check_partial_cmp_none_direct() {

let result = a.par_iter().partial_cmp(b.par_iter());

assert!(result == None);
assert!(result.is_none());
}

#[test]
Expand Down

0 comments on commit c7fdf5d

Please sign in to comment.