about summary refs log tree commit diff
path: root/src/libtest
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-03-21 05:25:21 +0000
committerbors <bors@rust-lang.org>2015-03-21 05:25:21 +0000
commitecf8c64e1b1b60f228f0c472c0b0dab4a5b5aa61 (patch)
tree03752d10ba340b85b8720647c7919a97b21d694b /src/libtest
parente2fa53e593a854a609ae9efe5a1bbe15265f0a6f (diff)
parent212e03181e422f569b6426bc08b713a9efc0d0eb (diff)
downloadrust-ecf8c64e1b1b60f228f0c472c0b0dab4a5b5aa61.tar.gz
rust-ecf8c64e1b1b60f228f0c472c0b0dab4a5b5aa61.zip
Auto merge of #23470 - alexcrichton:less-prelude, r=aturon
This commit removes the reexports of `old_io` traits as well as `old_path` types
and traits from the prelude. This functionality is now all deprecated and needs
to be removed to make way for other functionality like `Seek` in the `std::io`
module (currently reexported as `NewSeek` in the io prelude).

Closes #23377
Closes #23378
Diffstat (limited to 'src/libtest')
-rw-r--r--src/libtest/stats.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libtest/stats.rs b/src/libtest/stats.rs
index 84d86c5746c..e20e6d4f29b 100644
--- a/src/libtest/stats.rs
+++ b/src/libtest/stats.rs
@@ -333,7 +333,7 @@ pub fn winsorize<T: Float + FromPrimitive>(samples: &mut [T], pct: T) {
 mod tests {
     use stats::Stats;
     use stats::Summary;
-    use std::old_io;
+    use std::old_io::{self, Writer};
     use std::f64;
 
     macro_rules! assert_approx_eq {