From 0e7b5c35d99e1e28fb2092298fe7778b01cf31e3 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Tue, 1 Mar 2022 01:35:37 +0000 Subject: [PATCH] rust: Fix clippy lint (cherry picked from commit b5ce94d16c26f716d5124a19160d73e8f5dd73b2) --- src/rust/src/rustzcash.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rust/src/rustzcash.rs b/src/rust/src/rustzcash.rs index 9e9d9bd90..541ad2fad 100644 --- a/src/rust/src/rustzcash.rs +++ b/src/rust/src/rustzcash.rs @@ -156,7 +156,7 @@ pub extern "C" fn librustzcash_init_zksnark_params( let (spend_path, output_path, sprout_path) = ( Path::new(&spend_path), Path::new(&output_path), - sprout_path.as_ref().map(|p| Path::new(p)), + sprout_path.as_ref().map(Path::new), ); // Load params