Skip to content

Commit

Permalink
Fix tiny typo (rust-lang-nursery#601)
Browse files Browse the repository at this point in the history
  • Loading branch information
cydave authored Jun 13, 2020
1 parent ffaa6ac commit 67329ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/web/clients/api/rest-head.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`]
Expand Down Expand Up @@ -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

0 comments on commit 67329ad

Please sign in to comment.