Skip to content

Commit

Permalink
Correct example in lib.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
kayabaNerve committed Nov 6, 2023
1 parent 54c70a1 commit da1977b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
//! let mut rt = tokio::runtime::Runtime::new().unwrap();
//! let url = ("https://hyper.rs").parse().unwrap();
//! let https = hyper_rustls::HttpsConnectorBuilder::new()
//! .with_native_roots()?
//! .with_native_roots()
//! .expect("no native root CA certificates found")
//! .https_only()
//! .enable_http1()
//! .build();
Expand Down

0 comments on commit da1977b

Please sign in to comment.