Skip to content

Commit da21873

Browse files
committed
cargo fmt
1 parent e6f9984 commit da21873

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/async_impl/client.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use super::request::{Request, RequestBuilder};
1414
use super::response::Response;
1515
use super::Body;
1616
#[cfg(feature = "http3")]
17-
use crate::async_impl::h3_client::connect::{H3Connector, H3ClientConfig};
17+
use crate::async_impl::h3_client::connect::{H3ClientConfig, H3Connector};
1818
#[cfg(feature = "http3")]
1919
use crate::async_impl::h3_client::{H3Client, H3ResponseFuture};
2020
use crate::connect::{

src/async_impl/h3_client/connect.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ pub(crate) struct H3ClientConfig {
4343
///
4444
/// [`Builder`]: https://docs.rs/h3/latest/h3/client/struct.Builder.html#method.send_grease
4545
pub(crate) send_grease: Option<bool>,
46-
4746
}
4847

4948
impl Default for H3ClientConfig {
@@ -124,7 +123,8 @@ impl H3Connector {
124123
Ok(new_conn) => {
125124
let quinn_conn = Connection::new(new_conn);
126125
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+
{
128128
h3_client_builder.max_field_section_size(max_field_section_size);
129129
}
130130
if let Some(send_grease) = self.client_config.send_grease {

0 commit comments

Comments
 (0)