Skip to content

Commit 647fe1a

Browse files
authored
Merge pull request PacktPublishing#8 from kquinsland/kquinsland-typo-fix
A few small typo fixes
2 parents a660e60 + ae3985b commit 647fe1a

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

ch04/a-epoll/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ from a `TcpStream` that's reported as ready is very hard, but if you
1616
want to test it out I managed to reliably get that error by simply transferring
1717
so much data that the OS needs to do extra work to handle it.
1818

19-
You can reproduce it if you make som minor changes to the delayserver code
19+
You can reproduce it if you make some minor changes to the delayserver code
2020
as well as the program in `main.rs`` as outlined below. Simply copy and replace
2121
the appropriate functions with these will do it.
2222

ch04/b-epoll-mio/README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ You can run the example by simply writing `cargo run`
99

1010
## Note
1111

12-
There is one downside of having a local server on the same machine to mimmic
12+
There is one downside of having a local server on the same machine to mimic
1313
real life behavior. The network will never be slow, and packages will never
1414
need to be resent. Latency is not a problem either.
1515

@@ -20,11 +20,11 @@ so much data that the OS needs to do extra work to handle it.
2020

2121
You can reproduce it if you make som minor changes to the delayserver code
2222
as well as the program in main.rs as outlined below. Simply copy and replace
23-
the appropirate functions with these will do it.
23+
the appropriate functions with these will do it.
2424

2525

2626
First, change the `delay` function on the delayserver to return huge amount of fill data
27-
(enough to force a `WouldBlock` error on the reciever):
27+
(enough to force a `WouldBlock` error on the receiver):
2828

2929
```rust
3030
#[get("/{delay}/{message}")]
@@ -73,4 +73,3 @@ fn handle_events(events: &[Event], streams: &mut [TcpStream]) -> Result<usize> {
7373
Ok(handled_events)
7474
}
7575
```
76-

0 commit comments

Comments
 (0)