mirror of
https://github.com/async-rs/async-std.git
synced 2025-04-23 16:56:46 +00:00
Merge pull request #974 from themaxdavitt/patch-1
Fix typo in Tasks book page
This commit is contained in:
commit
4049f13264
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!
|
||||
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue