From c76d6744a17933fe82811ad809856d665869cdaa Mon Sep 17 00:00:00 2001 From: Nazar Mokrynskyi Date: Sun, 20 Feb 2022 13:42:41 +0200 Subject: [PATCH] Remove unnecessarily used nightly feature that became feature-gated (again?) --- crates/subspace-networking/src/node_runner.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/crates/subspace-networking/src/node_runner.rs b/crates/subspace-networking/src/node_runner.rs index 5dc4f78f67f..a65d50e2fcd 100644 --- a/crates/subspace-networking/src/node_runner.rs +++ b/crates/subspace-networking/src/node_runner.rs @@ -344,10 +344,7 @@ impl NodeRunner { match self.swarm.behaviour_mut().gossipsub.subscribe(&topic) { Ok(true) => { if result_sender.send(Ok(created_subscription)).is_ok() { - entry.insert_entry(IntMap::from_iter([( - subscription_id, - sender, - )])); + entry.insert(IntMap::from_iter([(subscription_id, sender)])); } } Ok(false) => {