Skip to content

Commit 9815ca7

Browse files
committed
rustc: silence some "dead code" warnings
1 parent 4bab769 commit 9815ca7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,6 @@ mod macros;
125125
#[macro_use]
126126
mod pub_macros;
127127

128-
pub use pub_macros::*;
129-
130128
pub mod confidential;
131129
pub mod descriptor;
132130
pub mod expression;

src/psbt/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1088,7 +1088,9 @@ trait PsbtFields {
10881088
fn tap_key_origins(
10891089
&mut self,
10901090
) -> &mut BTreeMap<bitcoin::key::XOnlyPublicKey, (Vec<TapLeafHash>, bip32::KeySource)>;
1091+
#[allow(dead_code)]
10911092
fn proprietary(&mut self) -> &mut BTreeMap<psbt::raw::ProprietaryKey, Vec<u8>>;
1093+
#[allow(dead_code)]
10921094
fn unknown(&mut self) -> &mut BTreeMap<psbt::raw::Key, Vec<u8>>;
10931095

10941096
// `tap_tree` only appears in psbt::Output, so it's returned as an option of a mutable ref

0 commit comments

Comments
 (0)