diff --git a/book/src/08_futures/03_runtime.md b/book/src/08_futures/03_runtime.md index f64e843..ebae7da 100644 --- a/book/src/08_futures/03_runtime.md +++ b/book/src/08_futures/03_runtime.md @@ -41,7 +41,7 @@ across threads. ## Implications `tokio::spawn` is flavor-agnostic: it'll work no matter if you're running on the multithreaded -or current-thread runtime. The downside is that the signature assume the worst case +or current-thread runtime. The downside is that the signature assumes the worst case (i.e. multithreaded) and is constrained accordingly: ```rust diff --git a/exercises/08_futures/03_runtime/src/lib.rs b/exercises/08_futures/03_runtime/src/lib.rs index f8840b9..087ddc0 100644 --- a/exercises/08_futures/03_runtime/src/lib.rs +++ b/exercises/08_futures/03_runtime/src/lib.rs @@ -1,5 +1,5 @@ // TODO: Implement the `fixed_reply` function. It should accept two `TcpListener` instances, -// accept connections on both of them concurrently, and always reply clients by sending +// accept connections on both of them concurrently, and always reply to clients by sending // the `Display` representation of the `reply` argument as a response. use std::fmt::Display; use tokio::io::AsyncWriteExt;