From 397b6f90e1f617093a266975d021466734054118 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Fri, 23 Mar 2018 13:21:19 -0400 Subject: [PATCH] Fix new "uneccessary mut" warning --- src/ln/channelmanager.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ln/channelmanager.rs b/src/ln/channelmanager.rs index 0dddfdac6..c22d9a07c 100644 --- a/src/ln/channelmanager.rs +++ b/src/ln/channelmanager.rs @@ -1236,7 +1236,7 @@ impl ChannelMessageHandler for ChannelManager { match claimable_htlcs_entry { hash_map::Entry::Occupied(mut e) => { - let mut outbound_route = e.get_mut(); + let outbound_route = e.get_mut(); let route = match outbound_route { &mut PendingOutboundHTLC::OutboundRoute { ref route } => { route.clone() -- 2.39.5