Grammar fixups

This commit is contained in:
Ernie Hershey 2024-08-13 11:41:18 -04:00
parent fb8f83a518
commit d5918375f3
No known key found for this signature in database
GPG key ID: B9574025B3B7B090
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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;