diff options
Diffstat (limited to 'net/src/ipc.rs')
-rw-r--r-- | net/src/ipc.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/src/ipc.rs b/net/src/ipc.rs index ba962b70..33afe3bf 100644 --- a/net/src/ipc.rs +++ b/net/src/ipc.rs @@ -391,7 +391,7 @@ impl Server { struct Cookie(Vec<u8>); extern crate rand; -use self::rand::Rng; +use self::rand::RngCore; use self::rand::os::OsRng; const COOKIE_SIZE: usize = 32; |