Fix typo: "patform" -> "platform" (#332)

This commit is contained in:
trevyn authored and GitHub committed 2021-02-22 10:34:46 -08:00
1 parent b80f12e384
commit 1e5307cbca
1 file changed
+1 -1
+1 -1
View File
@@ -317,7 +317,7 @@ pub(crate) fn connect_http(unit: &Unit, hostname: &str) -> Result<Stream, Error>
#[cfg(all(feature = "tls", feature = "native-certs"))]
fn configure_certs(config: &mut rustls::ClientConfig) {
config.root_store =
rustls_native_certs::load_native_certs().expect("Could not load patform certs");
rustls_native_certs::load_native_certs().expect("Could not load platform certs");
}
#[cfg(all(feature = "tls", not(feature = "native-certs")))]