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 {
600600 /// If the feature is enabled, this value is `true` by default.
601601 #[ cfg( feature = "rustls-tls-webpki-roots" ) ]
602602 #[ 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 {
604604 self . with_inner ( move |inner| inner. tls_built_in_webpki_certs ( enabled) )
605605 }
606606
@@ -609,7 +609,7 @@ impl ClientBuilder {
609609 /// If the feature is enabled, this value is `true` by default.
610610 #[ cfg( feature = "rustls-tls-native-roots" ) ]
611611 #[ 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 {
613613 self . with_inner ( move |inner| inner. tls_built_in_native_certs ( enabled) )
614614 }
615615
You can’t perform that action at this time.
0 commit comments