Skip to content

Commit 7f06dc3

Browse files
committed
Clear clippy manual_map warning
The lint `manual_map` is new so we cannot explicitly allow it and maintain backwards comparability. Instead, allow all lints for `get_utxo_for` with a comment explaining why.
1 parent de40351 commit 7f06dc3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/psbt/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ pub trait PsbtUtils {
1717
}
1818

1919
impl PsbtUtils for Psbt {
20+
#[allow(clippy::all)] // We want to allow `manual_map` but it is too new.
2021
fn get_utxo_for(&self, input_index: usize) -> Option<TxOut> {
2122
let tx = &self.global.unsigned_tx;
2223

0 commit comments

Comments
 (0)