From 2855eaecb53114add808441415ff4cf94f9d8b3c Mon Sep 17 00:00:00 2001 From: Daniel Verkamp Date: Fri, 31 Mar 2023 15:41:37 -0700 Subject: [PATCH] e2e_tests: remove unnecessary reference Fixes clippy warning in Rust 1.68. BUG=b:276487055 TEST=tools/clippy # with rust 1.68 Change-Id: I4482f26ac58de31931b82da5962899afc90f5377 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4391105 Commit-Queue: Daniel Verkamp Reviewed-by: Dennis Kempin --- e2e_tests/tests/prebuilts.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e_tests/tests/prebuilts.rs b/e2e_tests/tests/prebuilts.rs index 23e4db0285..c547f0a5a2 100644 --- a/e2e_tests/tests/prebuilts.rs +++ b/e2e_tests/tests/prebuilts.rs @@ -24,7 +24,7 @@ fn setup_env(build_type: &str) -> TempDir { env::set_var("CARGO_CFG_TARGET_ARCH", "x86_64"); env::set_var("CARGO_CFG_TARGET_ENV", "gnu"); let deps = tempdir.path().join("deps"); - std::fs::create_dir_all(&deps).unwrap(); + std::fs::create_dir_all(deps).unwrap(); let out_dir = tempdir.path().join("build").join("crate_name").join("out"); std::fs::create_dir_all(&out_dir).unwrap(); env::set_var("OUT_DIR", out_dir.as_os_str().to_str().unwrap());