From 77c22161a5f2d6cd3644d8ee8c5f02d6f76b9923 Mon Sep 17 00:00:00 2001 From: Wiktor Kwapisiewicz Date: Tue, 22 Nov 2022 17:44:51 +0100 Subject: [PATCH] Fix lint error on clippy 1.65 --- openssl-errors/tests/test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openssl-errors/tests/test.rs b/openssl-errors/tests/test.rs index 12e79b830e..98259b9b08 100644 --- a/openssl-errors/tests/test.rs +++ b/openssl-errors/tests/test.rs @@ -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); }