about summary refs log tree commit diff
path: root/src/libstd/rt
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-11-29 11:01:50 -0800
committerbors <bors@rust-lang.org>2013-11-29 11:01:50 -0800
commit08f4d1ff9f2cc0092b307e1f438fb911bbf55185 (patch)
tree95f3e2fdb5bf3ec6a28ffc8017c21fb03c4462a9 /src/libstd/rt
parent631cbd2e11eda1937cefcd7d8ba7831cadec21cf (diff)
parentc54427ddfbbab41a39d14f2b1dc4f080cbc2d41b (diff)
downloadrust-08f4d1ff9f2cc0092b307e1f438fb911bbf55185.tar.gz
rust-08f4d1ff9f2cc0092b307e1f438fb911bbf55185.zip
auto merge of #10697 : pcwalton/rust/path-new, r=pcwalton
r+

(carrying over from @alexcrichton's review)
Diffstat (limited to 'src/libstd/rt')
-rw-r--r--src/libstd/rt/test.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/rt/test.rs b/src/libstd/rt/test.rs
index 943b76dd1a0..2a6d30cf810 100644
--- a/src/libstd/rt/test.rs
+++ b/src/libstd/rt/test.rs
@@ -383,7 +383,7 @@ pub fn next_test_unix() -> Path {
     if cfg!(unix) {
         os::tmpdir().join(rand::task_rng().gen_ascii_str(20))
     } else {
-        Path::new(r"\\.\pipe\" + rand::task_rng().gen_ascii_str(20))
+        Path::init(r"\\.\pipe\" + rand::task_rng().gen_ascii_str(20))
     }
 }