mirror of
https://github.com/rust-lang-nursery/rust-cookbook
synced 2024-11-24 20:43:07 +00:00
Fix typo
This commit is contained in:
parent
752b035c1a
commit
04967bd9b2
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ Queries GitHub [stargazers API v3](https://developer.github.com/v3/activity/star
|
|||
with [`reqwest::get`] to get list of all users who have marked a GitHub project with a star.
|
||||
[`reqwest::Response`] is deserialized with [`Response::json`] into `User` objects implementing [`serde::Deserialize`].
|
||||
|
||||
[tokio::main] is used to set up the async executor and the process waits for [`reqwet::get`] to complete before
|
||||
[tokio::main] is used to set up the async executor and the process waits for [`reqwest::get`] to complete before
|
||||
processing the response into User instances.
|
||||
|
||||
```rust,edition2018,no_run
|
||||
|
|
Loading…
Reference in a new issue