diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2014-03-02 11:33:24 +1100 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2014-03-12 11:31:43 +1100 |
| commit | 198caa87cd870f8fd52bf0bd5fe471cf439c12f0 (patch) | |
| tree | 3429f047229c85a48cc7214e8db9954c02be97a2 /src/libextra | |
| parent | 15e289846219cc3ad8b0225712bf2309f2c02439 (diff) | |
Update users for the std::rand -> librand move.
Diffstat (limited to 'src/libextra')
| -rw-r--r-- | src/libextra/lib.rs | 5 | ||||
| -rw-r--r-- | src/libextra/tempfile.rs | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/libextra/lib.rs b/src/libextra/lib.rs index 6861f527b1d..673eb7e76de 100644 --- a/src/libextra/lib.rs +++ b/src/libextra/lib.rs @@ -34,9 +34,10 @@ Rust extras are part of the standard Rust distribution. #[deny(non_camel_case_types)]; #[deny(missing_doc)]; -extern crate sync; -extern crate serialize; extern crate collections; +extern crate rand; +extern crate serialize; +extern crate sync; extern crate time; // Utility modules diff --git a/src/libextra/tempfile.rs b/src/libextra/tempfile.rs index 5948f356a65..4e4d80ae292 100644 --- a/src/libextra/tempfile.rs +++ b/src/libextra/tempfile.rs @@ -12,8 +12,8 @@ use std::os; -use std::rand::Rng; -use std::rand; +use rand::Rng; +use rand; use std::io; use std::io::fs; |
