chore(clippy): make clippy happy

This commit is contained in:
Matthias Seitz 2021-03-18 19:56:17 +01:00
parent 234444a567
commit 0810f043c8
1 changed files with 1 additions and 1 deletions

View File

@ -12,5 +12,5 @@ pub trait EthLogDecode {
/// Decodes a series of logs into a vector
pub fn decode_logs<T: EthLogDecode>(logs: &[RawLog]) -> Result<Vec<T>, Error> {
logs.into_iter().map(T::decode_log).collect()
logs.iter().map(T::decode_log).collect()
}