summaryrefslogtreecommitdiffstats
path: root/vendor/pkg-config/tests/test.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/pkg-config/tests/test.rs')
-rw-r--r--vendor/pkg-config/tests/test.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/vendor/pkg-config/tests/test.rs b/vendor/pkg-config/tests/test.rs
index 4e04ac071..0f37c7224 100644
--- a/vendor/pkg-config/tests/test.rs
+++ b/vendor/pkg-config/tests/test.rs
@@ -24,10 +24,7 @@ fn reset() {
}
env::remove_var("TARGET");
env::remove_var("HOST");
- env::set_var(
- "PKG_CONFIG_PATH",
- &env::current_dir().unwrap().join("tests"),
- );
+ env::set_var("PKG_CONFIG_PATH", env::current_dir().unwrap().join("tests"));
}
fn find(name: &str) -> Result<pkg_config::Library, Error> {