Skip to content

Commit 90b5f10

Browse files
committed
Remove warnings
1 parent 967b95e commit 90b5f10

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/setup/test_util.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ pub fn random_pk(mut seed: u8) -> bitcoin::PublicKey {
143143
}
144144
}
145145

146+
#[allow(dead_code)]
147+
// https://github.com/rust-lang/rust/issues/46379. The code is pub fn and integration test, but still shows warnings
146148
/// Parse an insane miniscript into a miniscript with the format described above at file header
147149
pub fn parse_insane_ms<Ctx: ScriptContext>(
148150
ms: &str,
@@ -214,6 +216,8 @@ pub fn parse_insane_ms<Ctx: ScriptContext>(
214216
ms
215217
}
216218

219+
#[allow(dead_code)]
220+
// https://github.com/rust-lang/rust/issues/46379. The code is pub fn and integration test, but still shows warnings
217221
pub fn parse_test_desc(desc: &str, pubdata: &PubData) -> Descriptor<DescriptorPublicKey> {
218222
let desc = subs_hash_frag(desc, pubdata);
219223
let desc =

0 commit comments

Comments
 (0)