From 0810f043c83811384d8388c16d7196319b62d425 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Thu, 18 Mar 2021 19:56:17 +0100 Subject: [PATCH] chore(clippy): make clippy happy --- ethers-contract/src/log.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethers-contract/src/log.rs b/ethers-contract/src/log.rs index 829622e8..bfc54d53 100644 --- a/ethers-contract/src/log.rs +++ b/ethers-contract/src/log.rs @@ -12,5 +12,5 @@ pub trait EthLogDecode { /// Decodes a series of logs into a vector pub fn decode_logs(logs: &[RawLog]) -> Result, Error> { - logs.into_iter().map(T::decode_log).collect() + logs.iter().map(T::decode_log).collect() }