Fix deprecated trait objects without an explicit dyn (#11112)

This commit is contained in:
Juan Aguilar
2019-10-02 10:55:31 +02:00
committed by David
parent d243b15ae0
commit ad633de6d9
41 changed files with 264 additions and 264 deletions

View File

@@ -871,7 +871,7 @@ mod test {
type ReqBody = hyper::Body;
type ResBody = hyper::Body;
type Error = Error;
type Future = Box<Future<Item=hyper::Response<Self::ResBody>, Error=Self::Error> + Send + 'static>;
type Future = Box<dyn Future<Item=hyper::Response<Self::ResBody>, Error=Self::Error> + Send + 'static>;
fn call(&mut self, req: hyper::Request<hyper::Body>) -> Self::Future {
match req.uri().path() {