Skip to content

Commit

Permalink
allow unused crate fn
Browse files Browse the repository at this point in the history
  • Loading branch information
rnarubin committed Nov 30, 2023
1 parent 18bc811 commit 8d6794f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ pub enum CreateBuilderError {

type Client = hyper::client::Client<hyper_rustls::HttpsConnector<hyper::client::HttpConnector>>;

#[allow(unused)] // only used by some feature combinations
pub(crate) fn https_connector() -> hyper_rustls::HttpsConnector<hyper::client::HttpConnector> {
#[allow(unused_mut)]
let mut roots = rustls::RootCertStore::empty();
Expand Down

0 comments on commit 8d6794f

Please sign in to comment.