mirror of https://github.com/fafhrd91/actix-net
add ?Sized trait bound for Service impl of Rc<S: Service>
This commit is contained in:
parent
045773b8ca
commit
020553359e
|
@ -204,7 +204,7 @@ where
|
||||||
|
|
||||||
impl<S, Req> Service<Req> for Rc<S>
|
impl<S, Req> Service<Req> for Rc<S>
|
||||||
where
|
where
|
||||||
S: Service<Req>,
|
S: Service<Req> + ?Sized,
|
||||||
{
|
{
|
||||||
type Response = S::Response;
|
type Response = S::Response;
|
||||||
type Error = S::Error;
|
type Error = S::Error;
|
||||||
|
|
Loading…
Reference in New Issue