From 020553359e5a184a872e15fb06b6c95a5785ab03 Mon Sep 17 00:00:00 2001 From: fakeshadow <24548779@qq.com> Date: Mon, 1 Mar 2021 05:50:26 +0800 Subject: [PATCH] add ?Sized trait bound for Service impl of Rc --- actix-service/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actix-service/src/lib.rs b/actix-service/src/lib.rs index 4638d984..a4f6c5b4 100644 --- a/actix-service/src/lib.rs +++ b/actix-service/src/lib.rs @@ -204,7 +204,7 @@ where impl Service for Rc where - S: Service, + S: Service + ?Sized, { type Response = S::Response; type Error = S::Error;