2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-04-01 05:56:41 +00:00

Fix typo in Tasks book page

This commit is contained in:
Max Davitt 2021-05-28 12:59:41 -04:00 committed by GitHub
parent 35f7681664
commit a410082a7f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,7 @@
Now that we know what Futures are, we want to run them!
In `async-std`, the [`tasks`][tasks] module is responsible for this. The simplest way is using the `block_on` function:
In `async-std`, the [`task`][tasks] module is responsible for this. The simplest way is using the `block_on` function:
```rust,edition2018
# extern crate async_std;