diff --git a/src/async_impl/client.rs b/src/async_impl/client.rs index c726a8b..75610e6 100644 --- a/src/async_impl/client.rs +++ b/src/async_impl/client.rs @@ -572,8 +572,8 @@ impl ClientBuilder { /// Enables a request timeout. /// - /// The timeout is applied from the when the request starts connecting - /// until the response body has finished. + /// The timeout is applied from when the request starts connecting until the + /// response body has finished. /// /// Default is no timeout. pub fn timeout(mut self, timeout: Duration) -> ClientBuilder { diff --git a/src/async_impl/request.rs b/src/async_impl/request.rs index b0a870a..00a9f3a 100644 --- a/src/async_impl/request.rs +++ b/src/async_impl/request.rs @@ -229,9 +229,9 @@ impl RequestBuilder { /// Enables a request timeout. /// - /// The timeout is applied from the when the request starts connecting - /// until the response body has finished. It affects only this request - /// and overrides the timeout configured using `ClientBuilder::timeout()`. + /// The timeout is applied from when the request starts connecting until the + /// response body has finished. It affects only this request and overrides + /// the timeout configured using `ClientBuilder::timeout()`. pub fn timeout(mut self, timeout: Duration) -> RequestBuilder { if let Ok(ref mut req) = self.request { *req.timeout_mut() = Some(timeout); diff --git a/src/blocking/request.rs b/src/blocking/request.rs index 472bc6a..10c6171 100644 --- a/src/blocking/request.rs +++ b/src/blocking/request.rs @@ -329,9 +329,9 @@ impl RequestBuilder { /// Enables a request timeout. /// - /// The timeout is applied from the when the request starts connecting - /// until the response body has finished. It affects only this request - /// and overrides the timeout configured using `ClientBuilder::timeout()`. + /// The timeout is applied from when the request starts connecting until the + /// response body has finished. It affects only this request and overrides + /// the timeout configured using `ClientBuilder::timeout()`. pub fn timeout(mut self, timeout: Duration) -> RequestBuilder { if let Ok(ref mut req) = self.request { *req.timeout_mut() = Some(timeout);