File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ use super::request::{Request, RequestBuilder};
14
14
use super :: response:: Response ;
15
15
use super :: Body ;
16
16
#[ cfg( feature = "http3" ) ]
17
- use crate :: async_impl:: h3_client:: connect:: { H3Connector , H3ClientConfig } ;
17
+ use crate :: async_impl:: h3_client:: connect:: { H3ClientConfig , H3Connector } ;
18
18
#[ cfg( feature = "http3" ) ]
19
19
use crate :: async_impl:: h3_client:: { H3Client , H3ResponseFuture } ;
20
20
use crate :: connect:: {
Original file line number Diff line number Diff line change @@ -43,7 +43,6 @@ pub(crate) struct H3ClientConfig {
43
43
///
44
44
/// [`Builder`]: https://docs.rs/h3/latest/h3/client/struct.Builder.html#method.send_grease
45
45
pub ( crate ) send_grease : Option < bool > ,
46
-
47
46
}
48
47
49
48
impl Default for H3ClientConfig {
@@ -124,7 +123,8 @@ impl H3Connector {
124
123
Ok ( new_conn) => {
125
124
let quinn_conn = Connection :: new ( new_conn) ;
126
125
let mut h3_client_builder = h3:: client:: builder ( ) ;
127
- if let Some ( max_field_section_size) = self . client_config . max_field_section_size {
126
+ if let Some ( max_field_section_size) = self . client_config . max_field_section_size
127
+ {
128
128
h3_client_builder. max_field_section_size ( max_field_section_size) ;
129
129
}
130
130
if let Some ( send_grease) = self . client_config . send_grease {
You can’t perform that action at this time.
0 commit comments