about summary refs log tree commit diff
path: root/tests/run-make/rustdoc-output-path/rmake.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make/rustdoc-output-path/rmake.rs')
-rw-r--r--tests/run-make/rustdoc-output-path/rmake.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/run-make/rustdoc-output-path/rmake.rs b/tests/run-make/rustdoc-output-path/rmake.rs
index 181239eac4d..7f6accf26c2 100644
--- a/tests/run-make/rustdoc-output-path/rmake.rs
+++ b/tests/run-make/rustdoc-output-path/rmake.rs
@@ -1,11 +1,9 @@
 // Checks that if the output folder doesn't exist, rustdoc will create it.
 
-use std::path::Path;
-
-use run_make_support::rustdoc;
+use run_make_support::{path, rustdoc};
 
 fn main() {
-    let out_dir = Path::new("foo/bar/doc");
+    let out_dir = path("foo/bar/doc");
     rustdoc().input("foo.rs").out_dir(&out_dir).run();
     assert!(out_dir.exists());
 }