summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorKeiichi Watanabe <keiichiw@chromium.org>2020-04-10 21:49:10 +0900
committerCommit Bot <commit-bot@chromium.org>2020-04-15 18:01:32 +0000
commit275c1ef45db270b9cf0d7c614e5bdf59cb91bb41 (patch)
tree493e9898931f777d6158bd77a7b926b0351c2a85 /tests
parent6eb0ca94aca6f2bd3f3c028ae8d8fb9bd00f5b67 (diff)
downloadcrosvm-275c1ef45db270b9cf0d7c614e5bdf59cb91bb41.tar
crosvm-275c1ef45db270b9cf0d7c614e5bdf59cb91bb41.tar.gz
crosvm-275c1ef45db270b9cf0d7c614e5bdf59cb91bb41.tar.bz2
crosvm-275c1ef45db270b9cf0d7c614e5bdf59cb91bb41.tar.lz
crosvm-275c1ef45db270b9cf0d7c614e5bdf59cb91bb41.tar.xz
crosvm-275c1ef45db270b9cf0d7c614e5bdf59cb91bb41.tar.zst
crosvm-275c1ef45db270b9cf0d7c614e5bdf59cb91bb41.zip
crosvm: Apply cargo fix for some clippy errors
Executed the following command to fix trivial style problems automatically.
$ rustup run nightly cargo fix -Z unstable-options --clippy \
  --all-features --all-targets

BUG=chromium:908640
TEST=build

Change-Id: I8a42806dc573b25d4ca918112e7b420793261d37
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2145537
Tested-by: Keiichi Watanabe <keiichiw@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: Keiichi Watanabe <keiichiw@chromium.org>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-by: Zach Reizner <zachr@chromium.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/plugins.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/plugins.rs b/tests/plugins.rs
index c45096f..1675a75 100644
--- a/tests/plugins.rs
+++ b/tests/plugins.rs
@@ -75,7 +75,7 @@ fn build_plugin(src: &str) -> RemovePath {
     let status = child.wait().expect("failed to wait for compiler");
     assert!(status.success(), "failed to build plugin");
 
-    RemovePath(PathBuf::from(out_bin))
+    RemovePath(out_bin)
 }
 
 fn run_plugin(bin_path: &Path, with_sandbox: bool) {