Fix tiny typo (#601)

This commit is contained in:
‏‏Dave 2020-06-13 21:17:53 +00:00 committed by GitHub
parent ffaa6acec8
commit 67329add00
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,7 @@
Query the GitHub Users Endpoint using a HEAD
request ([`Client::head`]) and then inspect the response code to determine
success. This is a quick way to query a rest resource without needing to receive
a body. [`reqwest::Client`] cofigured with [`ClientBuilder::timeout`] ensures
a body. [`reqwest::Client`] configured with [`ClientBuilder::timeout`] ensures
a request will not last longer than a timeout.
Due to both [`ClientBuilder::build`] and [`ReqwestBuilder::send`] returning [`reqwest::Error`]
@ -42,4 +42,4 @@ async fn main() -> Result<()> {
[`RequestBuilder::send`]: https://docs.rs/reqwest/*/reqwest/struct.RequestBuilder.html#method.send
[`reqwest::Client`]: https://docs.rs/reqwest/*/reqwest/struct.Client.html
[`reqwest::Error`]: https://docs.rs/reqwest/*/reqwest/struct.Error.html
[`reqwest::Result`]:https://docs.rs/reqwest/*/reqwest/type.Result.html
[`reqwest::Result`]:https://docs.rs/reqwest/*/reqwest/type.Result.html