about summary refs log tree commit diff
path: root/src/libflate/lib.rs
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2014-03-02 11:33:24 +1100
committerHuon Wilson <dbau.pp+github@gmail.com>2014-03-12 11:31:43 +1100
commit198caa87cd870f8fd52bf0bd5fe471cf439c12f0 (patch)
tree3429f047229c85a48cc7214e8db9954c02be97a2 /src/libflate/lib.rs
parent15e289846219cc3ad8b0225712bf2309f2c02439 (diff)
downloadrust-198caa87cd870f8fd52bf0bd5fe471cf439c12f0.tar.gz
rust-198caa87cd870f8fd52bf0bd5fe471cf439c12f0.zip
Update users for the std::rand -> librand move.
Diffstat (limited to 'src/libflate/lib.rs')
-rw-r--r--src/libflate/lib.rs5
1 files changed, 3 insertions, 2 deletions
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<u8> {
 
 #[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() {