mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-29 14:57:56 +00:00
Use fully qualified sytnax for retain_mut (#10865)
This commit is contained in:
@@ -753,7 +753,7 @@ where
|
||||
slot: Slot,
|
||||
epoch_descriptor: &ViableEpochDescriptor<B::Hash, NumberFor<B>, Epoch>,
|
||||
) {
|
||||
self.slot_notification_sinks.lock().retain_mut(|sink| {
|
||||
RetainMut::retain_mut(&mut *self.slot_notification_sinks.lock(), |sink| {
|
||||
match sink.try_send((slot, epoch_descriptor.clone())) {
|
||||
Ok(()) => true,
|
||||
Err(e) =>
|
||||
|
||||
Reference in New Issue
Block a user