Add some more todo
This commit is contained in:
@@ -216,6 +216,7 @@ fn generate_unary(
|
|||||||
Ok(res)
|
Ok(res)
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// TODO: implement this future manually
|
||||||
Box::pin(fut)
|
Box::pin(fut)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -43,6 +43,7 @@ impl Service<Request<BoxBody>> for Connection {
|
|||||||
|
|
||||||
fn call(&mut self, req: Request<BoxBody>) -> Self::Future {
|
fn call(&mut self, req: Request<BoxBody>) -> Self::Future {
|
||||||
let fut = self.inner.call(req);
|
let fut = self.inner.call(req);
|
||||||
|
// TODO: we dont need to box here if we have too
|
||||||
Box::pin(fut)
|
Box::pin(fut)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user