diff options
author | Igor Matuszewski <igor@sequoia-pgp.org> | 2019-12-19 00:30:59 +0100 |
---|---|---|
committer | Igor Matuszewski <igor@sequoia-pgp.org> | 2019-12-19 00:30:59 +0100 |
commit | a0a23c8fc7fd07176751d4a6688d884ab7aa65e0 (patch) | |
tree | b62b9d4e539614cb7b20248351323be8b0a4cbde /net | |
parent | 213cdc24996793bb544e4003f470faa7b5956a60 (diff) |
net: Fix bare trait object
Diffstat (limited to 'net')
-rw-r--r-- | net/tests/hkp.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tests/hkp.rs b/net/tests/hkp.rs index 971a10cd..0a2121f0 100644 --- a/net/tests/hkp.rs +++ b/net/tests/hkp.rs @@ -67,7 +67,7 @@ const FP: &'static str = "3E8877C877274692975189F5D03F6F865226FE8B"; const ID: &'static str = "D03F6F865226FE8B"; fn service(req: Request<Body>) - -> Box<Future<Item=Response<Body>, Error=hyper::Error> + Send> { + -> Box<dyn Future<Item=Response<Body>, Error=hyper::Error> + Send> { let (parts, body) = req.into_parts(); match (parts.method, parts.uri.path()) { (Method::GET, "/pks/lookup") => { |