Skip to content

Commit b85184d

Browse files
committed
fix clippy
1 parent e0245a0 commit b85184d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zingo-sync/src/scan/transactions.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ where
361361
let output_id = OutputId::from_parts(txid, output_index);
362362
let (nullifier, position) = nullifiers_and_positions.map_or((None, None), |m| {
363363
m.get(&output_id)
364-
.map(|(nf, pos)| (Some(nf.clone()), Some(pos.clone())))
364+
.map(|(nf, pos)| (Some(*nf), Some(*pos)))
365365
.unwrap()
366366
});
367367
wallet_notes.push(WalletNote::from_parts(

0 commit comments

Comments
 (0)