diff --git a/src/1_futures_in_rust.md b/src/1_futures_in_rust.md index 0acfa5f..14b54ce 100644 --- a/src/1_futures_in_rust.md +++ b/src/1_futures_in_rust.md @@ -54,7 +54,7 @@ completion alone as you'll understand by reading the next paragraph. ### Non-leaf-futures -Non-leaf-futures is the kind of futures we as _users_ of a runtime writes +Non-leaf-futures is the kind of futures we as _users_ of a runtime write ourselves using the `async` keyword to create a **task** which can be run on the executor. @@ -112,7 +112,7 @@ notifying a `Future` that it can do more work, and actually doing the work on the `Future`. You can think of the former as the reactor's job, and the latter as the -executors job. These two parts of a runtime interacts using the `Waker` type. +executors job. These two parts of a runtime interact with each other using the `Waker` type. The two most popular runtimes for `Futures` as of writing this is: @@ -215,4 +215,4 @@ However, if you feel that you have the basics covered, then let's get moving! [async_std]: https://github.com/async-rs/async-std [tokio]: https://github.com/tokio-rs/tokio [compat_info]: https://rust-lang.github.io/futures-rs/blog/2019/04/18/compatibility-layer.html -[futures_rs]: https://github.com/rust-lang/futures-rs \ No newline at end of file +[futures_rs]: https://github.com/rust-lang/futures-rs