From d76ea897c1e199acbb01119a378adc4cf469c715 Mon Sep 17 00:00:00 2001 From: Aaron Feickert <66188213+AaronFeickert@users.noreply.github.com> Date: Fri, 2 Feb 2024 15:14:48 -0600 Subject: [PATCH] Fix lint error --- src/commitment.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commitment.rs b/src/commitment.rs index 6f2ce73f..2bc54d85 100644 --- a/src/commitment.rs +++ b/src/commitment.rs @@ -156,7 +156,7 @@ impl Hash for HomomorphicCommitment

{ impl PartialEq for HomomorphicCommitment

{ fn eq(&self, other: &Self) -> bool { - self.as_public_key().eq(other.as_public_key()) + self.as_public_key() == other.as_public_key() } }