diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2018-11-24 12:51:05 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2018-11-24 12:54:04 +0100 |
commit | 277373b2e646dca183db5e3889d934a59820a54d (patch) | |
tree | d8216da928b6029fee140481a869f00790368f52 /net/tests/hkp.rs | |
parent | 00379cb1cb9d0b38cdb7b50e5471b45b1ebecd23 (diff) |
net: Avoid using deprecated location of OsRng.v0.1.0
Diffstat (limited to 'net/tests/hkp.rs')
-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 209d5f98..fc960eed 100644 --- a/net/tests/hkp.rs +++ b/net/tests/hkp.rs @@ -13,7 +13,7 @@ use hyper::{Server, Body}; use hyper::service::service_fn; use hyper::{Method, StatusCode}; use rand::RngCore; -use rand::os::OsRng; +use rand::rngs::OsRng; use std::io::Cursor; use std::net::{SocketAddr, IpAddr, Ipv4Addr}; use std::thread; |