From 547502ebea14e3a79ba5e7a7e31605ab950bcdf3 Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Wed, 11 May 2022 23:51:19 +0000 Subject: [PATCH] no need for a named variable here --- web3-proxy/src/jsonrpc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web3-proxy/src/jsonrpc.rs b/web3-proxy/src/jsonrpc.rs index e705f252..94fbe56d 100644 --- a/web3-proxy/src/jsonrpc.rs +++ b/web3-proxy/src/jsonrpc.rs @@ -83,7 +83,7 @@ impl<'de> Deserialize<'de> for JsonRpcRequestEnum { match key { Field::JsonRpc => { // throw away the value - let foo: String = map.next_value()?; + let _: String = map.next_value()?; } Field::Id => { if id.is_some() {