From 07a8444cd9d5bd3fcc5279da85eb8cdb6febd6d5 Mon Sep 17 00:00:00 2001 From: Dimitris Apostolou Date: Mon, 27 Jan 2025 20:34:43 +0200 Subject: [PATCH] fix: fix clippy warnings --- jsonrpc/src/client.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jsonrpc/src/client.rs b/jsonrpc/src/client.rs index 21042d5..6f775b7 100644 --- a/jsonrpc/src/client.rs +++ b/jsonrpc/src/client.rs @@ -147,9 +147,9 @@ impl From for Client { #[derive(Clone, PartialEq, Debug)] struct HashableValue<'a>(pub Cow<'a, Value>); -impl<'a> Eq for HashableValue<'a> {} +impl Eq for HashableValue<'_> {} -impl<'a> Hash for HashableValue<'a> { +impl Hash for HashableValue<'_> { fn hash(&self, state: &mut H) { match *self.0.as_ref() { Value::Null => "null".hash(state),