refactor(server): remove commented out where bounds
This commit is contained in:
@@ -308,10 +308,9 @@ impl<E> Http<E> {
|
|||||||
where
|
where
|
||||||
S: Service<ReqBody=Body, ResBody=Bd>,
|
S: Service<ReqBody=Body, ResBody=Bd>,
|
||||||
S::Error: Into<Box<::std::error::Error + Send + Sync>>,
|
S::Error: Into<Box<::std::error::Error + Send + Sync>>,
|
||||||
//S::Future: Send + 'static,
|
|
||||||
Bd: Payload,
|
Bd: Payload,
|
||||||
I: AsyncRead + AsyncWrite,
|
I: AsyncRead + AsyncWrite,
|
||||||
E: H2Exec<S::Future, Bd>//Box<Future<Item=(), Error=()> + Send>>,
|
E: H2Exec<S::Future, Bd>,
|
||||||
{
|
{
|
||||||
let either = match self.mode {
|
let either = match self.mode {
|
||||||
ConnectionMode::H1Only | ConnectionMode::Fallback => {
|
ConnectionMode::H1Only | ConnectionMode::Fallback => {
|
||||||
|
|||||||
Reference in New Issue
Block a user