mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-01 00:19:49 +00:00
Use fully qualified sytnax for retain_mut (#10865)
This commit is contained in:
1 parent
962cab60d6
commit
db5da0950b
2 files changed
+2
-2
No files matched your search
@@ -203,7 +203,7 @@ impl<B: ChainApi> ValidatedPool<B> {
|
||||
let imported = self.pool.write().import(tx)?;
|
||||
|
||||
if let base::Imported::Ready { ref hash, .. } = imported {
|
||||
self.import_notification_sinks.lock().retain_mut(|sink| {
|
||||
RetainMut::retain_mut(&mut *self.import_notification_sinks.lock(), |sink| {
|
||||
match sink.try_send(*hash) {
|
||||
Ok(()) => true,
|
||||
Err(e) =>
|
||||
|
||||
Reference in new issue
Block a user