Update to libp2p 0.37 (#8625)

* Update to libp2p 0.37

* Line widths

* Fix tests
This commit is contained in:
Pierre Krieger
2021-04-18 10:04:45 +02:00
committed by GitHub
parent b6b107030d
commit d64f79924a
19 changed files with 220 additions and 168 deletions
+5
View File
@@ -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)]