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 9b0bfd9 commit 3a9ddc1Copy full SHA for 3a9ddc1
iroh-base/src/key.rs
@@ -112,7 +112,6 @@ impl Ord for PublicKey {
112
///
113
/// - `encrypt(key: PublicKey)`
114
/// - `send_to(endpoint: EndpointId)`
115
-
116
impl Hash for PublicKey {
117
fn hash<H: std::hash::Hasher>(&self, state: &mut H) {
118
self.0.hash(state);
iroh/src/discovery/mdns.rs
@@ -353,7 +353,7 @@ impl MdnsDiscovery {
353
354
let mut resolved = false;
355
let item =
356
- peer_to_discovery_item(&peer_info, &discovered_endpoint_id.into());
+ peer_to_discovery_item(&peer_info, &discovered_endpoint_id);
357
if let Some(senders) = senders.get(&discovered_endpoint_id) {
358
trace!(?item, senders = senders.len(), "sending DiscoveryItem");
359
resolved = true;
0 commit comments