From d5918375f3b0cba811c879ba9cce7d4b5c4ae44c Mon Sep 17 00:00:00 2001 From: Ernie Hershey Date: Tue, 13 Aug 2024 11:41:18 -0400 Subject: [PATCH] Grammar fixups --- book/src/08_futures/03_runtime.md | 2 +- exercises/08_futures/03_runtime/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.45.2