Skip to content

Commit

Permalink
fixup: doc doc doc
Browse files Browse the repository at this point in the history
  • Loading branch information
dlon committed Nov 22, 2024
1 parent d4142d9 commit 8c260f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mullvad-api/src/https_client_with_sni.rs
Original file line number Diff line number Diff line change
Expand Up @@ -388,9 +388,9 @@ impl HttpsConnectorWithSni {
.map_err(|err| io::Error::new(io::ErrorKind::TimedOut, err))?
}

/// Resolve the provided `uri` to an IP and port using `address_cache` in the first place, and
/// using `dns_resolver` otherwise. If the URI contains an IP, that IP will be used instead. If
/// the URI contains a port, the port will be used.
/// Resolve the provided `uri` to an IP and port. If the URI contains an IP, that IP will be used.
/// Otherwise `address_cache` will be preferred, and `dns_resolver` will be used as a fallback.
/// If the URI contains a port, then that port will be used.
async fn resolve_address(
address_cache: AddressCache,
dns_resolver: &dyn DnsResolver,
Expand Down

0 comments on commit 8c260f4

Please sign in to comment.