Skip to content

Commit

Permalink
Fix lint error on clippy 1.65
Browse files Browse the repository at this point in the history
  • Loading branch information
wiktor-k committed Nov 22, 2022
1 parent fbbf329 commit 77c2216
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openssl-errors/tests/test.rs
Expand Up @@ -32,7 +32,7 @@ fn basic() {
cfg_if! {
if #[cfg(ossl300)] {
// https://github.com/openssl/openssl/issues/12530
assert!(error.data() == None || error.data() == Some(""));
assert!(error.data().is_none() || error.data() == Some(""));
} else {
assert_eq!(error.data(), None);
}
Expand Down

0 comments on commit 77c2216

Please sign in to comment.