We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9072fdb commit 93d4072Copy full SHA for 93d4072
iroh-relay/src/relay_map.rs
@@ -115,8 +115,6 @@ impl RelayMap {
115
/// Joins this `RelayMap` with another one into a new one
116
pub fn join(self, other: RelayMap) -> RelayMap {
117
let mut a = self.relays.write().expect("poisoned");
118
-
119
- // SAFETY: We have exclusive access to this object
120
let b = other.relays.read().expect("poisoned");
121
a.extend(b.iter().map(|(a, b)| (a.clone(), b.clone())));
122
}
0 commit comments