File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -600,7 +600,7 @@ impl ClientBuilder {
600
600
/// If the feature is enabled, this value is `true` by default.
601
601
#[ cfg( feature = "rustls-tls-webpki-roots" ) ]
602
602
#[ cfg_attr( docsrs, doc( cfg( feature = "rustls-tls-webpki-roots" ) ) ) ]
603
- pub fn tls_built_in_webpki_certs ( mut self , enabled : bool ) -> ClientBuilder {
603
+ pub fn tls_built_in_webpki_certs ( self , enabled : bool ) -> ClientBuilder {
604
604
self . with_inner ( move |inner| inner. tls_built_in_webpki_certs ( enabled) )
605
605
}
606
606
@@ -609,7 +609,7 @@ impl ClientBuilder {
609
609
/// If the feature is enabled, this value is `true` by default.
610
610
#[ cfg( feature = "rustls-tls-native-roots" ) ]
611
611
#[ cfg_attr( docsrs, doc( cfg( feature = "rustls-tls-native-roots" ) ) ) ]
612
- pub fn tls_built_in_native_certs ( mut self , enabled : bool ) -> ClientBuilder {
612
+ pub fn tls_built_in_native_certs ( self , enabled : bool ) -> ClientBuilder {
613
613
self . with_inner ( move |inner| inner. tls_built_in_native_certs ( enabled) )
614
614
}
615
615
You can’t perform that action at this time.
0 commit comments