Skip to content

Commit 9ab49ba

Browse files
committed
Fix lint error on clippy 1.65
1 parent b30313a commit 9ab49ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openssl-errors/tests/test.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ fn basic() {
3232
cfg_if! {
3333
if #[cfg(ossl300)] {
3434
// https://github.com/openssl/openssl/issues/12530
35-
assert!(error.data() == None || error.data() == Some(""));
35+
assert!(error.data().is_none() || error.data() == Some(""));
3636
} else {
3737
assert_eq!(error.data(), None);
3838
}

0 commit comments

Comments
 (0)