From 0f28aa8426037e0cf3532607982cc213d0849529 Mon Sep 17 00:00:00 2001 From: Tsvetomir Dimitrov Date: Thu, 27 Jun 2024 16:21:13 +0300 Subject: [PATCH] clippy --- .../src/validator_side/tests/prospective_parachains.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polkadot/node/network/collator-protocol/src/validator_side/tests/prospective_parachains.rs b/polkadot/node/network/collator-protocol/src/validator_side/tests/prospective_parachains.rs index 6e716a82b015..f5101ca98c1a 100644 --- a/polkadot/node/network/collator-protocol/src/validator_side/tests/prospective_parachains.rs +++ b/polkadot/node/network/collator-protocol/src/validator_side/tests/prospective_parachains.rs @@ -118,7 +118,7 @@ pub(super) async fn update_view( parent, RuntimeApiRequest::AsyncBackingParams(tx), )) => { - tx.send(Ok(async_backing_params.clone())).unwrap(); + tx.send(Ok(*async_backing_params)).unwrap(); (parent, new_view.get(&parent).copied().expect("Unknown parent requested")) } );