mirror of
https://github.com/actix/actix-website
synced 2025-06-27 07:29:02 +02:00
Add dyn keyword to get rid of some warnings
This commit is contained in:
@ -49,7 +49,7 @@ where
|
||||
type Request = ServiceRequest;
|
||||
type Response = ServiceResponse<B>;
|
||||
type Error = Error;
|
||||
type Future = Box<Future<Item = Self::Response, Error = Self::Error>>;
|
||||
type Future = Box<dyn Future<Item = Self::Response, Error = Self::Error>>;
|
||||
|
||||
fn poll_ready(&mut self) -> Poll<(), Self::Error> {
|
||||
self.service.poll_ready()
|
||||
|
Reference in New Issue
Block a user