From 317981c6d8ec88bd12d2a0a6aab58b91624b568d Mon Sep 17 00:00:00 2001 From: Jack Rickard Date: Tue, 24 May 2022 21:36:42 +0100 Subject: [PATCH] Replace is_eq with comparison to preserve MSRV --- openssl/src/x509/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openssl/src/x509/mod.rs b/openssl/src/x509/mod.rs index 2251cbe85..3ac37d870 100644 --- a/openssl/src/x509/mod.rs +++ b/openssl/src/x509/mod.rs @@ -618,7 +618,7 @@ impl PartialOrd for X509Ref { impl PartialEq for X509Ref { fn eq(&self, other: &Self) -> bool { - self.cmp(other).is_eq() + self.cmp(other) == cmp::Ordering::Equal } } -- GitLab