From c4b6d2aab043c234ba0e694ab8558e5f708400c1 Mon Sep 17 00:00:00 2001 From: Ivan Folgueira Bande Date: Wed, 12 Feb 2025 00:45:32 +0100 Subject: [PATCH] build.rs fix clippy linter issue --- waku-sys/build.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/waku-sys/build.rs b/waku-sys/build.rs index 6ecc5e4..d41be34 100644 --- a/waku-sys/build.rs +++ b/waku-sys/build.rs @@ -9,7 +9,7 @@ fn submodules_init(project_dir: &Path) { let mark_file_path = ".submodules-initialized"; // Check if the mark file exists - if !Path::new(&mark_file_path).exists() { + if !Path::new(mark_file_path).exists() { // If mark file doesn't exist, initialize submodule if Command::new("git") .args(["submodule", "init"]) @@ -32,7 +32,7 @@ fn submodules_init(project_dir: &Path) { .expect("Failed to execute 'make update'") .success() { - std::fs::File::create(&mark_file_path).expect("Failed to create mark file"); + std::fs::File::create(mark_file_path).expect("Failed to create mark file"); } else { panic!("Failed to run 'make update' within nwaku folder."); }