Skip to content

Commit f029966

Browse files
committed
fixed error in ch08 that's related to the examples in ch09
1 parent c19108c commit f029966

File tree

4 files changed

+1
-2
lines changed

4 files changed

+1
-2
lines changed

.DS_Store

6 KB
Binary file not shown.

ch08/.DS_Store

6 KB
Binary file not shown.

ch08/a-coroutine/.DS_Store

6 KB
Binary file not shown.

ch08/a-coroutine/src/http.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
use crate::{future::PollState, runtime, Future};
2-
use mio::{Interest, Token};
1+
use crate::{future::PollState, Future};
32
use std::io::{ErrorKind, Read, Write};
43

54
fn get_req(path: &str) -> String {

0 commit comments

Comments
 (0)