1
0
Fork 0
mirror of https://gitlab.com/msrd0/gotham-restful.git synced 2025-02-23 04:52:28 +00:00

remove weird useless constraint

This commit is contained in:
Dominic 2020-04-19 20:49:47 +02:00
parent 45cad64923
commit fdc34fc296
Signed by: msrd0
GPG key ID: DCC8C247452E98F9

View file

@ -185,8 +185,7 @@ where
impl<Res> ResourceResult for Pin<Box<dyn Future<Output = Res> + Send>> impl<Res> ResourceResult for Pin<Box<dyn Future<Output = Res> + Send>>
where where
Res : ResourceResult + 'static, Res : ResourceResult + 'static
dyn Future<Output = Result<Response, Res::Err>> : Send
{ {
type Err = Res::Err; type Err = Res::Err;