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/test/run-make/unicode-input | |
| parent | 15e289846219cc3ad8b0225712bf2309f2c02439 (diff) | |
| download | rust-198caa87cd870f8fd52bf0bd5fe471cf439c12f0.tar.gz rust-198caa87cd870f8fd52bf0bd5fe471cf439c12f0.zip | |
Update users for the std::rand -> librand move.
Diffstat (limited to 'src/test/run-make/unicode-input')
| -rw-r--r-- | src/test/run-make/unicode-input/multiple_files.rs | 4 | ||||
| -rw-r--r-- | src/test/run-make/unicode-input/span_length.rs | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/test/run-make/unicode-input/multiple_files.rs b/src/test/run-make/unicode-input/multiple_files.rs index 80371aa9840..45bb29f617f 100644 --- a/src/test/run-make/unicode-input/multiple_files.rs +++ b/src/test/run-make/unicode-input/multiple_files.rs @@ -8,8 +8,10 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +extern crate rand; +use rand::{task_rng, Rng}; + use std::{char, os, str}; -use std::rand::{task_rng, Rng}; use std::io::{File, Process}; // creates unicode_input_multiple_files_{main,chars}.rs, where the diff --git a/src/test/run-make/unicode-input/span_length.rs b/src/test/run-make/unicode-input/span_length.rs index 3227f672bcd..1ae6838be5b 100644 --- a/src/test/run-make/unicode-input/span_length.rs +++ b/src/test/run-make/unicode-input/span_length.rs @@ -8,8 +8,10 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +extern crate rand; +use rand::{task_rng, Rng}; + use std::{char, os, str}; -use std::rand::{task_rng, Rng}; use std::io::{File, Process}; // creates a file with `fn main() { <random ident> }` and checks the |
