Skip to content

Commit

Permalink
docs fix
Browse files Browse the repository at this point in the history
  • Loading branch information
“ramfox” committed Jan 31, 2025
1 parent 23e57e9 commit 416dd14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iroh-net-report/src/ip_mapped_addrs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ pub struct IpMappedAddresses(Arc<std::sync::Mutex<Inner>>);
#[derive(Debug, Default)]
pub struct Inner {
by_mapped_addr: BTreeMap<IpMappedAddr, SocketAddr>,
/// Because [`SocketAddrV6`] contains extra fields besides the IP
/// Because [`std::net::SocketAddrV6`] contains extra fields besides the IP
/// address and port (ie, flow_info and scope_id), the a [`SocketAddrV6`]
/// with the same IP addr and port might Hash to something different.
/// So to get a hashable key for the map, we are using `(IpAddr, u6)`.
Expand Down

0 comments on commit 416dd14

Please sign in to comment.