1
0
Fork 0
mirror of https://gitlab.com/msrd0/gotham-restful.git synced 2025-02-22 20:52:27 +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>>
where
Res : ResourceResult + 'static,
dyn Future<Output = Result<Response, Res::Err>> : Send
Res : ResourceResult + 'static
{
type Err = Res::Err;