From fea94a1365ab31168196811435b77d504d0bbc86 Mon Sep 17 00:00:00 2001 From: Alexander Samusev <41779041+alvicsam@users.noreply.github.com> Date: Mon, 7 Nov 2022 15:04:09 +0100 Subject: [PATCH] Pipeline with ci image with rust 1.65 (#6243) * Pipeline with ci image with rust 1.65 * fix a warning * return production image Co-authored-by: Andronik --- polkadot/node/core/runtime-api/src/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polkadot/node/core/runtime-api/src/tests.rs b/polkadot/node/core/runtime-api/src/tests.rs index 45286431e4..81629d5b27 100644 --- a/polkadot/node/core/runtime-api/src/tests.rs +++ b/polkadot/node/core/runtime-api/src/tests.rs @@ -89,7 +89,7 @@ sp_api::mock_impl_runtime_apis! { } fn availability_cores(&self) -> Vec { - let _ = self.availability_cores_wait.lock().unwrap(); + let _lock = self.availability_cores_wait.lock().unwrap(); self.availability_cores.clone() }