mirror of
https://github.com/async-rs/async-std.git
synced 2025-04-02 14:36:40 +00:00
Fix typo in Tasks book page
This commit is contained in:
parent
35f7681664
commit
a410082a7f
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
Now that we know what Futures are, we want to run them!
|
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
|
```rust,edition2018
|
||||||
# extern crate async_std;
|
# extern crate async_std;
|
||||||
|
|
Loading…
Reference in a new issue