fix: cargo fmt

pull/93/head
Yusuf Bera Ertan 4 years ago committed by Sebastian Dröge
parent 5258049729
commit 83395f3d7c
  1. 5
      src/tokio/rustls.rs

@ -41,7 +41,10 @@ where
config.root_store = config.root_store =
rustls_native_certs::load_native_certs().map_err(|(_, err)| err)?; rustls_native_certs::load_native_certs().map_err(|(_, err)| err)?;
} }
#[cfg(all(feature = "tokio-rustls-webpki-roots", not(feature = "tokio-rustls-native-certs")))] #[cfg(all(
feature = "tokio-rustls-webpki-roots",
not(feature = "tokio-rustls-native-certs")
))]
config config
.root_store .root_store
.add_server_trust_anchors(&webpki_roots::TLS_SERVER_ROOTS); .add_server_trust_anchors(&webpki_roots::TLS_SERVER_ROOTS);

Loading…
Cancel
Save