rust: Fix clippy lint

(cherry picked from commit b5ce94d16c)
This commit is contained in:
Jack Grigg 2022-03-01 01:35:37 +00:00 committed by Daira Hopwood
parent 663308ae9d
commit 0e7b5c35d9
1 changed files with 1 additions and 1 deletions

View File

@ -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