From 8c260f4470d3ea65762894950f2bc219ed6e1516 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20L=C3=B6nnhager?= Date: Fri, 22 Nov 2024 11:34:57 +0100 Subject: [PATCH] fixup: doc doc doc --- mullvad-api/src/https_client_with_sni.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mullvad-api/src/https_client_with_sni.rs b/mullvad-api/src/https_client_with_sni.rs index a6308df5c2fa..09e198ca3bcf 100644 --- a/mullvad-api/src/https_client_with_sni.rs +++ b/mullvad-api/src/https_client_with_sni.rs @@ -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,