Skip to content

Commit 2bea74a

Browse files
committed
cargo fmt
1 parent e240026 commit 2bea74a

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//! Proxy helpers
22
3-
mod tunnel;
43
mod socks;
4+
mod tunnel;
55

6-
pub use self::tunnel::Tunnel;
76
pub use self::socks::Socks;
7+
pub use self::tunnel::Tunnel;

tests/proxy.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ use tokio::io::{AsyncReadExt, AsyncWriteExt};
22
use tokio::net::{TcpListener, TcpStream};
33
use tower_service::Service;
44

5-
use hyper_util::client::legacy::connect::{proxy::{Socks, Tunnel}, HttpConnector};
5+
use hyper_util::client::legacy::connect::{
6+
proxy::{Socks, Tunnel},
7+
HttpConnector,
8+
};
69

710
#[cfg(not(miri))]
811
#[tokio::test]
@@ -276,4 +279,3 @@ async fn test_socks_with_domain_works() {
276279
t1.await.expect("task - client");
277280
t2.await.expect("task - proxy");
278281
}
279-

0 commit comments

Comments
 (0)