summaryrefslogtreecommitdiffstats
path: root/net/tests
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2018-06-06 11:40:57 +0200
committerJustus Winter <justus@sequoia-pgp.org>2018-06-06 13:16:49 +0200
commitadef51556f04576e4c34a77dfc52b461770c7ff9 (patch)
tree8765eb5bf783276b68163612f1814532085b0b5b /net/tests
parent3febc0a82aebbb70cdfa623f5d6ce0306583ec84 (diff)
net, store: Bump rand to "0.5" and adapt code accordingly.
Diffstat (limited to 'net/tests')
-rw-r--r--net/tests/hkp.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tests/hkp.rs b/net/tests/hkp.rs
index b2d68bb0..4acbf56d 100644
--- a/net/tests/hkp.rs
+++ b/net/tests/hkp.rs
@@ -12,7 +12,7 @@ use http::{Request, Response};
use hyper::{Server, Body};
use hyper::service::service_fn;
use hyper::{Method, StatusCode};
-use rand::Rng;
+use rand::RngCore;
use rand::os::OsRng;
use std::io::Cursor;
use std::net::{SocketAddr, IpAddr, Ipv4Addr};