summaryrefslogtreecommitdiffstats
path: root/net/src/ipc.rs
diff options
context:
space:
mode:
Diffstat (limited to 'net/src/ipc.rs')
-rw-r--r--net/src/ipc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/src/ipc.rs b/net/src/ipc.rs
index 5e8041ac..17ddacf0 100644
--- a/net/src/ipc.rs
+++ b/net/src/ipc.rs
@@ -391,7 +391,7 @@ struct Cookie(Vec<u8>);
extern crate rand;
use self::rand::RngCore;
-use self::rand::os::OsRng;
+use self::rand::rngs::OsRng;
const COOKIE_SIZE: usize = 32;