From 1e5307cbcaa7626e7f1c515703996c3a1859e630 Mon Sep 17 00:00:00 2001 From: trevyn Date: Mon, 22 Feb 2021 22:34:46 +0400 Subject: [PATCH] Fix typo: "patform" -> "platform" (#332) --- src/stream.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stream.rs b/src/stream.rs index 4a36cbb..e7aa813 100644 --- a/src/stream.rs +++ b/src/stream.rs @@ -317,7 +317,7 @@ pub(crate) fn connect_http(unit: &Unit, hostname: &str) -> Result #[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")))]