Fix typo in documentation (#1056)
This fixes a typo with multiple occurrences in the documentation and rewraps the documentation comments at 80 characters.
This commit is contained in:
		| @@ -572,8 +572,8 @@ impl ClientBuilder { | |||||||
|  |  | ||||||
|     /// Enables a request timeout. |     /// Enables a request timeout. | ||||||
|     /// |     /// | ||||||
|     /// The timeout is applied from the when the request starts connecting |     /// The timeout is applied from when the request starts connecting until the | ||||||
|     /// until the response body has finished. |     /// response body has finished. | ||||||
|     /// |     /// | ||||||
|     /// Default is no timeout. |     /// Default is no timeout. | ||||||
|     pub fn timeout(mut self, timeout: Duration) -> ClientBuilder { |     pub fn timeout(mut self, timeout: Duration) -> ClientBuilder { | ||||||
|   | |||||||
| @@ -229,9 +229,9 @@ impl RequestBuilder { | |||||||
|  |  | ||||||
|     /// Enables a request timeout. |     /// Enables a request timeout. | ||||||
|     /// |     /// | ||||||
|     /// The timeout is applied from the when the request starts connecting |     /// The timeout is applied from when the request starts connecting until the | ||||||
|     /// until the response body has finished. It affects only this request |     /// response body has finished. It affects only this request and overrides | ||||||
|     /// and overrides the timeout configured using `ClientBuilder::timeout()`. |     /// the timeout configured using `ClientBuilder::timeout()`. | ||||||
|     pub fn timeout(mut self, timeout: Duration) -> RequestBuilder { |     pub fn timeout(mut self, timeout: Duration) -> RequestBuilder { | ||||||
|         if let Ok(ref mut req) = self.request { |         if let Ok(ref mut req) = self.request { | ||||||
|             *req.timeout_mut() = Some(timeout); |             *req.timeout_mut() = Some(timeout); | ||||||
|   | |||||||
| @@ -329,9 +329,9 @@ impl RequestBuilder { | |||||||
|  |  | ||||||
|     /// Enables a request timeout. |     /// Enables a request timeout. | ||||||
|     /// |     /// | ||||||
|     /// The timeout is applied from the when the request starts connecting |     /// The timeout is applied from when the request starts connecting until the | ||||||
|     /// until the response body has finished. It affects only this request |     /// response body has finished. It affects only this request and overrides | ||||||
|     /// and overrides the timeout configured using `ClientBuilder::timeout()`. |     /// the timeout configured using `ClientBuilder::timeout()`. | ||||||
|     pub fn timeout(mut self, timeout: Duration) -> RequestBuilder { |     pub fn timeout(mut self, timeout: Duration) -> RequestBuilder { | ||||||
|         if let Ok(ref mut req) = self.request { |         if let Ok(ref mut req) = self.request { | ||||||
|             *req.timeout_mut() = Some(timeout); |             *req.timeout_mut() = Some(timeout); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user