mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 16:17:59 +00:00
Update to libp2p 0.37 (#8625)
* Update to libp2p 0.37 * Line widths * Fix tests
This commit is contained in:
@@ -59,6 +59,11 @@ impl<T: Hash + Eq> LruHashSet<T> {
|
||||
}
|
||||
false
|
||||
}
|
||||
|
||||
/// Removes an element from the set if it is present.
|
||||
pub fn remove(&mut self, e: &T) -> bool {
|
||||
self.set.remove(e)
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
|
||||
Reference in New Issue
Block a user