Skip to content

Commit

Permalink
Add clippy allow
Browse files Browse the repository at this point in the history
We don't control the function signature that this helper function must
conform to. Just shoosh clippy.
  • Loading branch information
tcharding committed Feb 8, 2024
1 parent e951a62 commit 162e8f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/v2/miniscript/satisfy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ impl<'a, Pk: MiniscriptKey + ToPublicKey> Satisfier<Pk> for InputSatisfier<'a> {
}
}

#[allow(clippy::ptr_arg)] // We don't control the function signature this is used in.
fn try_vec_as_preimage32(vec: &Vec<u8>) -> Option<Preimage32> {
if vec.len() == 32 {
let mut arr = [0u8; 32];
Expand Down

0 comments on commit 162e8f5

Please sign in to comment.