Skip to content

Commit

Permalink
Remove an unneeded parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
sfackler committed Dec 5, 2019
1 parent 618c2db commit a1c28e4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,14 +154,14 @@ where
}
}

impl<S, T> Service<Uri> for HttpsConnector<S>
impl<S> Service<Uri> for HttpsConnector<S>
where
S: Service<Uri, Response = T> + Send,
S: Service<Uri> + Send,
S::Error: Into<Box<dyn Error + Send + Sync>>,
S::Future: Unpin + Send + 'static,
T: AsyncRead + AsyncWrite + Connection + Unpin + Debug + Sync + Send + 'static,
S::Response: AsyncRead + AsyncWrite + Connection + Unpin + Debug + Sync + Send + 'static,
{
type Response = MaybeHttpsStream<T>;
type Response = MaybeHttpsStream<S::Response>;
type Error = Box<dyn Error + Sync + Send>;
type Future = Pin<Box<dyn Future<Output = Result<Self::Response, Self::Error>> + Send>>;

Expand Down

0 comments on commit a1c28e4

Please sign in to comment.