diff options
Diffstat (limited to 'src/libstd/rt')
| -rw-r--r-- | src/libstd/rt/test.rs | 2 |
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)) } } |
