From 62e9d32b3efca68d5fcf0fea5c53aacb5fe0358a Mon Sep 17 00:00:00 2001 From: Kurian Thampy Date: Tue, 1 Oct 2019 13:58:06 +0530 Subject: [PATCH] Changed to `Box>` to remove warning --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 5e23d5b05..f8bb3317a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -125,7 +125,7 @@ where { type Config = ProtoBufConfig; type Error = Error; - type Future = Box>; + type Future = Box>; #[inline] fn from_request(req: &HttpRequest, payload: &mut Payload) -> Self::Future { @@ -164,7 +164,7 @@ pub struct ProtoBufMessage { length: Option, stream: Option, err: Option, - fut: Option>>, + fut: Option>>, } impl ProtoBufMessage {