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:
parent
45cad64923
commit
fdc34fc296
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue