@@ -21,24 +21,24 @@ pub use config::Config;
2121#[ cfg( not( feature = "unstable-config" ) ) ]
2222type Config = ( ) ;
2323
24- #[ cfg_attr( feature = "docs" , doc( cfg( curl_client) ) ) ]
24+ #[ cfg_attr( feature = "docs" , doc( cfg( feature = " curl_client" ) ) ) ]
2525#[ cfg( all( feature = "curl_client" , not( target_arch = "wasm32" ) ) ) ]
2626pub mod isahc;
2727
28- #[ cfg_attr( feature = "docs" , doc( cfg( wasm_client) ) ) ]
28+ #[ cfg_attr( feature = "docs" , doc( cfg( feature = " wasm_client" ) ) ) ]
2929#[ cfg( all( feature = "wasm_client" , target_arch = "wasm32" ) ) ]
3030pub mod wasm;
3131
32- #[ cfg_attr( feature = "docs" , doc( cfg( native_client) ) ) ]
32+ #[ cfg_attr( feature = "docs" , doc( cfg( feature = " native_client" ) ) ) ]
3333#[ cfg( any( feature = "curl_client" , feature = "wasm_client" ) ) ]
3434pub mod native;
3535
36- #[ cfg_attr( feature = "docs" , doc( cfg( h1_client) ) ) ]
37- #[ cfg_attr( feature = "docs" , doc( cfg( default ) ) ) ]
36+ #[ cfg_attr( feature = "docs" , doc( cfg( feature = " h1_client" ) ) ) ]
37+ #[ cfg_attr( feature = "docs" , doc( cfg( feature = " default" ) ) ) ]
3838#[ cfg( any( feature = "h1_client" , feature = "h1_client_rustls" ) ) ]
3939pub mod h1;
4040
41- #[ cfg_attr( feature = "docs" , doc( cfg( hyper_client) ) ) ]
41+ #[ cfg_attr( feature = "docs" , doc( cfg( feature = " hyper_client" ) ) ) ]
4242#[ cfg( feature = "hyper_client" ) ]
4343pub mod hyper;
4444
@@ -106,11 +106,13 @@ impl HttpClient for Box<dyn HttpClient> {
106106 self . as_ref ( ) . send ( req) . await
107107 }
108108
109+ #[ cfg_attr( feature = "docs" , doc( cfg( feature = "unstable-config" ) ) ) ]
109110 #[ cfg( feature = "unstable-config" ) ]
110111 fn set_config ( & mut self , config : Config ) -> http_types:: Result < ( ) > {
111112 self . as_mut ( ) . set_config ( config)
112113 }
113114
115+ #[ cfg_attr( feature = "docs" , doc( cfg( feature = "unstable-config" ) ) ) ]
114116 #[ cfg( feature = "unstable-config" ) ]
115117 fn config ( & self ) -> & Config {
116118 self . as_ref ( ) . config ( )
0 commit comments