Skip to content

Commit d88bdbf

Browse files
committed
fix: more linting
1 parent 79a38d2 commit d88bdbf

File tree

1 file changed

+1
-1
lines changed
  • src/jormungandr/jormungandr-lib/src/crypto

1 file changed

+1
-1
lines changed

src/jormungandr/jormungandr-lib/src/crypto/key.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ impl<T, A: VerificationAlgorithm> Eq for Signature<T, A> {}
460460

461461
impl<A: AsymmetricPublicKey> PartialOrd<Identifier<A>> for Identifier<A> {
462462
fn partial_cmp(&self, other: &Self) -> Option<std::cmp::Ordering> {
463-
self.0.partial_cmp(&other.0)
463+
Some(self.cmp(other))
464464
}
465465
}
466466

0 commit comments

Comments
 (0)