fix style and format
This commit is contained in:
@@ -954,7 +954,10 @@ impl ClientBuilder {
|
|||||||
///
|
///
|
||||||
/// Pass `None` to disable HTTP2 keep-alive.
|
/// Pass `None` to disable HTTP2 keep-alive.
|
||||||
/// Default is currently disabled.
|
/// Default is currently disabled.
|
||||||
pub fn http2_keep_alive_interval(mut self, interval: impl Into<Option<Duration>>) -> ClientBuilder {
|
pub fn http2_keep_alive_interval(
|
||||||
|
mut self,
|
||||||
|
interval: impl Into<Option<Duration>>,
|
||||||
|
) -> ClientBuilder {
|
||||||
self.config.http2_keep_alive_interval = interval.into();
|
self.config.http2_keep_alive_interval = interval.into();
|
||||||
self
|
self
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user