From 9b7dd35481061108214e2c58b1f1560b68a4093f Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Thu, 21 Apr 2022 14:55:12 +0200 Subject: [PATCH] chore: silence unused warnings --- ethers-providers/src/transports/common.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/ethers-providers/src/transports/common.rs b/ethers-providers/src/transports/common.rs index 840d40207..9f0ac1330 100644 --- a/ethers-providers/src/transports/common.rs +++ b/ethers-providers/src/transports/common.rs @@ -72,6 +72,7 @@ pub enum Response<'a> { Error { id: u64, jsonrpc: &'a str, error: JsonRpcError }, } +#[allow(unused)] impl Response<'_> { pub fn id(&self) -> u64 { match self {