From 9563f9eeeb55c5b653a37bfb41fa161deae87937 Mon Sep 17 00:00:00 2001 From: Svyatoslav Nikolsky Date: Tue, 10 Jan 2023 10:22:48 +0300 Subject: [PATCH] fix nightly clippy again (#1752) --- bin/millau/node/src/service.rs | 2 +- relays/messages/src/message_race_delivery.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/millau/node/src/service.rs b/bin/millau/node/src/service.rs index 20662d17bb9..e86d9e847a0 100644 --- a/bin/millau/node/src/service.rs +++ b/bin/millau/node/src/service.rs @@ -329,7 +329,7 @@ pub fn new_full(mut config: Configuration) -> Result keystore: keystore_container.sync_keystore(), task_manager: &mut task_manager, transaction_pool: transaction_pool.clone(), - rpc_builder: rpc_extensions_builder.clone(), + rpc_builder: rpc_extensions_builder, backend: backend.clone(), system_rpc_tx, config, diff --git a/relays/messages/src/message_race_delivery.rs b/relays/messages/src/message_race_delivery.rs index 0179a696bc7..0d957fd8b71 100644 --- a/relays/messages/src/message_race_delivery.rs +++ b/relays/messages/src/message_race_delivery.rs @@ -612,7 +612,6 @@ mod tests { }, ) }) - .into_iter() .collect(), confirmed_nonce: Some(confirmed_nonce), }