mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-01-19 05:43:55 +01:00
Fix new "uneccessary mut" warning
This commit is contained in:
parent
511c5319f1
commit
397b6f90e1
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user