From 0d5934e8b48a340f5315d25b5e07d77163c8d2a6 Mon Sep 17 00:00:00 2001 From: Oleh Misarosh Date: Wed, 8 Apr 2020 13:22:22 +0300 Subject: [PATCH 1/2] Fix the plural verb --- src/1_futures_in_rust.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/1_futures_in_rust.md b/src/1_futures_in_rust.md index 0acfa5f..b6c3120 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. @@ -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 From 331bf7e4dfc4870c78ff105d1a662453e6185b8f Mon Sep 17 00:00:00 2001 From: Oleh Misarosh Date: Wed, 8 Apr 2020 13:33:38 +0300 Subject: [PATCH 2/2] Fix verb & clarify the sentence --- src/1_futures_in_rust.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/1_futures_in_rust.md b/src/1_futures_in_rust.md index b6c3120..14b54ce 100644 --- a/src/1_futures_in_rust.md +++ b/src/1_futures_in_rust.md @@ -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: