Skip to content

Commit 420c7a4

Browse files
committed
fix: use hyper::rt::{Read, Write} imports
1 parent c1a69ed commit 420c7a4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ where
5050
impl<T> Service<Uri> for TimeoutConnector<T>
5151
where
5252
T: Service<Uri> + Send,
53-
T::Response: hyper::rt::Read + hyper::rt::Write + Connection + Send + Unpin,
53+
T::Response: Read + Write + Connection + Send + Unpin,
5454
T::Future: Send + 'static,
5555
T::Error: Into<BoxError>,
5656
{
@@ -121,8 +121,8 @@ impl<T> TimeoutConnector<T> {
121121

122122
impl<T> Connection for TimeoutConnector<T>
123123
where
124-
T: hyper::rt::Read + hyper::rt::Write + Connection + Service<Uri> + Send + Unpin,
125-
T::Response: hyper::rt::Read + hyper::rt::Write + Send + Unpin,
124+
T: Read + Write + Connection + Service<Uri> + Send + Unpin,
125+
T::Response: Read + Write + Send + Unpin,
126126
T::Future: Send + 'static,
127127
T::Error: Into<BoxError>,
128128
{

0 commit comments

Comments
 (0)