refactor(server): remove commented out where bounds

This commit is contained in:
Sean McArthur
2018-10-16 14:46:44 -07:00
parent 13d53e1d0c
commit 12bc4cb485

View File

@@ -308,10 +308,9 @@ impl<E> Http<E> {
where
S: Service<ReqBody=Body, ResBody=Bd>,
S::Error: Into<Box<::std::error::Error + Send + Sync>>,
//S::Future: Send + 'static,
Bd: Payload,
I: AsyncRead + AsyncWrite,
E: H2Exec<S::Future, Bd>//Box<Future<Item=(), Error=()> + Send>>,
E: H2Exec<S::Future, Bd>,
{
let either = match self.mode {
ConnectionMode::H1Only | ConnectionMode::Fallback => {