From 198caa87cd870f8fd52bf0bd5fe471cf439c12f0 Mon Sep 17 00:00:00 2001 From: Huon Wilson Date: Sun, 2 Mar 2014 11:33:24 +1100 Subject: Update users for the std::rand -> librand move. --- src/libflate/lib.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/libflate/lib.rs') diff --git a/src/libflate/lib.rs b/src/libflate/lib.rs index 1a14432be6a..17c96f1c5ab 100644 --- a/src/libflate/lib.rs +++ b/src/libflate/lib.rs @@ -90,9 +90,10 @@ pub fn inflate_bytes_zlib(bytes: &[u8]) -> CVec { #[cfg(test)] mod tests { + extern crate rand; + use super::{inflate_bytes, deflate_bytes}; - use std::rand; - use std::rand::Rng; + use self::rand::Rng; #[test] fn test_flate_round_trip() { -- cgit 1.4.1-3-g733a5