Fixed formatting

master
Stephen 2020-07-16 18:40:52 -03:00
parent c5ea4fde35
commit b0241e51a3
1 changed files with 6 additions and 6 deletions

View File

@ -105,7 +105,7 @@ pub struct ClientConfig {
user_agent: Option<HeaderValue>, user_agent: Option<HeaderValue>,
disable_ssl_verification: bool, disable_ssl_verification: bool,
base_config: BaseClientConfig, base_config: BaseClientConfig,
timeout: Duration timeout: Duration,
} }
// #[cfg_attr(tarpaulin, skip)] // #[cfg_attr(tarpaulin, skip)]
@ -200,11 +200,11 @@ impl ClientConfig {
self self
} }
/// Set a timeout duration for all HTTP requests. The default is no timeout. /// Set a timeout duration for all HTTP requests. The default is no timeout.
pub fn timeout(mut self, timeout: Duration) -> Self { pub fn timeout(mut self, timeout: Duration) -> Self {
self.timeout = timeout; self.timeout = timeout;
self self
} }
} }
#[derive(Debug, Default, Clone)] #[derive(Debug, Default, Clone)]