Skip to content

Commit

Permalink
fix(tests): Fix test compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
gretchenfrage committed Oct 29, 2024
1 parent 3f28983 commit db1367c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/blocking/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ impl ClientBuilder {
/// This requires the `rustls-tls(-...)` Cargo feature enabled.
#[cfg(feature = "__rustls")]
#[cfg_attr(docsrs, doc(cfg(feature = "rustls-tls")))]
pub fn add_crl(mut self, crl: CertificateRevocationList) -> ClientBuilder {
pub fn add_crl(self, crl: CertificateRevocationList) -> ClientBuilder {
self.with_inner(move |inner| inner.add_crl(crl))
}

Expand All @@ -638,7 +638,7 @@ impl ClientBuilder {
#[cfg(feature = "__rustls")]
#[cfg_attr(docsrs, doc(cfg(feature = "rustls-tls")))]
pub fn add_crls(
mut self,
self,
crls: impl IntoIterator<Item = CertificateRevocationList>,
) -> ClientBuilder {
self.with_inner(move |inner| inner.add_crls(crls))
Expand Down

0 comments on commit db1367c

Please sign in to comment.