Add ?Sized to Rc service (#125)

Co-authored-by: nebanfic <banfic.nenad@gmail.com>
This commit is contained in:
Nenad Banfic 2022-07-06 18:33:16 -07:00 committed by GitHub
parent df3d29387f
commit bcec02a381
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -230,7 +230,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;