Make sure individual mutexes are constructed on different lines
[rust-lightning] / lightning / src / ln / channelmanager.rs
index e7e3acddae1b213ecf7bced34e6c5fd4b9e7b0d1..1045e77ad04f32a22d00263e33cbdb83b2adc77e 100644 (file)
@@ -7532,7 +7532,10 @@ where
                        }
                }
 
-               let pending_outbounds = OutboundPayments { pending_outbound_payments: Mutex::new(pending_outbound_payments.unwrap()), retry_lock: Mutex::new(()) };
+               let pending_outbounds = OutboundPayments {
+                       pending_outbound_payments: Mutex::new(pending_outbound_payments.unwrap()),
+                       retry_lock: Mutex::new(())
+               };
                if !forward_htlcs.is_empty() || pending_outbounds.needs_abandon() {
                        // If we have pending HTLCs to forward, assume we either dropped a
                        // `PendingHTLCsForwardable` or the user received it but never processed it as they