Skip to content

Commit 3af2ff2

Browse files
committed
Remove unnecessary #[allow(unused)]
1 parent 5b8972f commit 3af2ff2

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

lightning/src/ln/inbound_payment.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ impl ExpandedKey {
7070
/// Returns an [`HmacEngine`] used to construct [`Offer::metadata`].
7171
///
7272
/// [`Offer::metadata`]: crate::offers::offer::Offer::metadata
73-
#[allow(unused)]
7473
pub(crate) fn hmac_for_offer(
7574
&self, nonce: Nonce, iv_bytes: &[u8; IV_LEN]
7675
) -> HmacEngine<Sha256> {
@@ -88,7 +87,6 @@ impl ExpandedKey {
8887
///
8988
/// [`Offer::metadata`]: crate::offers::offer::Offer::metadata
9089
/// [`Offer::signing_pubkey`]: crate::offers::offer::Offer::signing_pubkey
91-
#[allow(unused)]
9290
#[derive(Clone, Copy, Debug, PartialEq)]
9391
pub(crate) struct Nonce(pub(crate) [u8; Self::LENGTH]);
9492

lightning/src/offers/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ pub mod offer;
2020
pub mod parse;
2121
mod payer;
2222
pub mod refund;
23-
#[allow(unused)]
2423
pub(crate) mod signer;
2524
#[cfg(test)]
2625
mod test_utils;

0 commit comments

Comments
 (0)