add ?Sized trait bound for Service impl of Rc<S: Service>

This commit is contained in:
fakeshadow 2021-03-01 05:50:26 +08:00
parent 045773b8ca
commit 020553359e
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ where
impl<S, Req> Service<Req> for Rc<S>
where
S: Service<Req>,
S: Service<Req> + ?Sized,
{
type Response = S::Response;
type Error = S::Error;