Unverified Commit 317981c6 authored by Jack Rickard's avatar Jack Rickard Committed by GitHub
Browse files

Replace is_eq with comparison to preserve MSRV

parent 1147ed03
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
    }
}