Skip to content

Commit

Permalink
Merge pull request #131 from ehershey/grammar
Browse files Browse the repository at this point in the history
Grammar fixups
  • Loading branch information
hdoordt authored Aug 14, 2024
2 parents fb8f83a + d591837 commit 97d13e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion book/src/08_futures/03_runtime.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion exercises/08_futures/03_runtime/src/lib.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit 97d13e5

Please sign in to comment.