Unverified Commit 7e52fe6d authored by Wiktor Kwapisiewicz's avatar Wiktor Kwapisiewicz
Browse files

Fix clippy error indicating error in implementation

parent 10cee24f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1229,7 +1229,7 @@ impl Ord for BigNumRef {

impl PartialOrd for BigNum {
    fn partial_cmp(&self, oth: &BigNum) -> Option<Ordering> {
        self.deref().partial_cmp(oth.deref())
        Some(self.cmp(oth))
    }
}

+1 −1
Original line number Diff line number Diff line
@@ -832,7 +832,7 @@ impl Ord for X509 {

impl PartialOrd for X509 {
    fn partial_cmp(&self, other: &Self) -> Option<cmp::Ordering> {
        X509Ref::partial_cmp(self, other)
        Some(self.cmp(other))
    }
}