From 4ff808b02b5b827c80d251518fdefa4bacee9eba Mon Sep 17 00:00:00 2001 From: Corey Lowman Date: Fri, 28 Jun 2024 12:44:09 -0400 Subject: [PATCH] Fix clippy --- build.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.rs b/build.rs index 09105ce..2080ed7 100644 --- a/build.rs +++ b/build.rs @@ -94,7 +94,7 @@ fn dynamic_linking(major: usize, minor: usize) { ) }); - for path in lib_candidates(&toolkit_root, major, minor) { + for path in lib_candidates(toolkit_root, major, minor) { println!("cargo:rustc-link-search=native={}", path.display()); } @@ -113,7 +113,7 @@ fn dynamic_linking(major: usize, minor: usize) { ) }); - for path in lib_candidates(&cudnn_root, major, minor) { + for path in lib_candidates(cudnn_root, major, minor) { println!("cargo:rustc-link-search=native={}", path.display()); } }