Use fully qualified sytnax for retain_mut (#10865)

This commit is contained in:
Dmitry Kashitsyn
2022-02-16 16:53:10 +07:00
committed by GitHub
parent 962cab60d6
commit db5da0950b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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) =>