mirror of
https://github.com/rust-lang-nursery/rust-cookbook
synced 2024-11-22 19:43:06 +00:00
remove dead link
This commit is contained in:
parent
3cd5ab1822
commit
bbfdc8a5f7
1 changed files with 1 additions and 2 deletions
|
@ -416,7 +416,7 @@ quick_main!(run);
|
|||
Query the [GitHub Users Endpoint](https://api.github.com/users) using a HEAD request 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. You can also configure the [`reqwest::Client`] to use a timeout
|
||||
which ensures that a request will not last longer than what it is configured with.
|
||||
which ensures that a request will not last longer than what is passed to the timeout function.
|
||||
|
||||
```rust,no_run
|
||||
#[macro_use]
|
||||
|
@ -560,7 +560,6 @@ quick_main!(run);
|
|||
<!-- Reference -->
|
||||
|
||||
[`io::copy`]: https://doc.rust-lang.org/std/io/fn.copy.html
|
||||
[`Duration`]: https://doc.rust-lang.org/nightly/std/time/struct.Duration.html
|
||||
[`File`]: https://doc.rust-lang.org/std/fs/struct.File.html
|
||||
[`Url`]: https://docs.rs/url/1.*/url/struct.Url.html
|
||||
[`parse`]: https://docs.rs/url/1.*/url/struct.Url.html#method.parse
|
||||
|
|
Loading…
Reference in a new issue