Skip to content

Commit 0ecc8cd

Browse files
committed
minor adjustment, formatting
1 parent 61bba94 commit 0ecc8cd

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

ch10/e-coroutines-pin/src/http.rs

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
1+
use crate::{future::PollState, runtime::{self, reactor, Waker}, Future};
12
use mio::Interest;
2-
use std::{
3-
io::{ErrorKind, Read, Write},
4-
pin::Pin,
5-
};
6-
7-
use crate::{
8-
future::PollState,
9-
runtime::{self, reactor, Waker},
10-
Future,
11-
};
3+
use std::{io::{ErrorKind, Read, Write}, pin::Pin};
124

135
fn get_req(path: &str) -> String {
146
format!(

0 commit comments

Comments
 (0)