about summary refs log tree commit diff
path: root/src/libstd/lib.rs
diff options
context:
space:
mode:
authorKevin Ballard <kevin@sb.org>2014-05-04 13:20:47 -0700
committerKevin Ballard <kevin@sb.org>2014-05-08 12:06:22 -0700
commit752048a27135bdf15c6f00229b04cea7ceeaf739 (patch)
treefecf799c0aec269c9e4b7693b8fb2ae3899db541 /src/libstd/lib.rs
parentfa82ef23b800a10209732e1af2558eea87e218e8 (diff)
downloadrust-752048a27135bdf15c6f00229b04cea7ceeaf739.tar.gz
rust-752048a27135bdf15c6f00229b04cea7ceeaf739.zip
Handle more fallout
os::args() no longer auto-borrows to &[~str].
Diffstat (limited to 'src/libstd/lib.rs')
-rw-r--r--src/libstd/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs
index 72d41ae1dd2..8a783b6f378 100644
--- a/src/libstd/lib.rs
+++ b/src/libstd/lib.rs
@@ -278,4 +278,7 @@ mod std {
     pub use ty;
     pub use unstable;
     pub use vec;
+
+    // The test runner requires std::slice::Vector, so re-export std::slice just for it.
+    #[cfg(test)] pub use slice;
 }