Commit 24819fa
committed
Merge rust-bitcoin/rust-miniscript#630: fix: needless borrow (reference is immediately dereferenced by the rust-compiler)
d8abb0805c5c006ecde80bf502650dc9fba70363 fix: needless borrow (wthrajat)
Pull request description:
fixes:
```shell
this expression creates a reference which is immediately dereferenced by the compiler
--> src/psbt/mod.rs:881:54
|
881 | cache.p2wpkh_signature_hash(idx, &script_code, amt, hash_ty)?
| ^^^^^^^^^^^^
```
ACKs for top commit:
apoelstra:
ACK d8abb0805c5c006ecde80bf502650dc9fba70363
Tree-SHA512: d8975f076e2febad6093513db65af4641d4f29d6e5f499a70f3c7345699f3102041380ede170d1ea49b64e617d2f84950b8a2ae3604739dcf18d20d536e62eb01 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
878 | 878 | | |
879 | 879 | | |
880 | 880 | | |
881 | | - | |
| 881 | + | |
882 | 882 | | |
883 | 883 | | |
884 | 884 | | |
| |||
0 commit comments