2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-01-16 10:49:55 +00:00

Merge pull request #974 from themaxdavitt/patch-1

Fix typo in Tasks book page
This commit is contained in:
Jeremiah Senkpiel 2021-05-31 12:17:21 -07:00 committed by GitHub
commit 4049f13264
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! 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;