Remove redundant borrows
Clippy emits: warning: this expression borrows a reference As suggested remove the borrows from the front of vars that are already references.
This commit is contained in:
@@ -139,7 +139,7 @@ impl Utxo {
|
||||
}
|
||||
|
||||
if let Some(txout) = &psbt_input.witness_utxo {
|
||||
return &txout;
|
||||
return txout;
|
||||
}
|
||||
|
||||
unreachable!("Foreign UTXOs will always have one of these set")
|
||||
|
||||
Reference in New Issue
Block a user