Skip to content

Commit fc1323c

Browse files
fixup! meta: fix clippy warning that should not happen
Signed-off-by: Vincenzo Palazzo <[email protected]>
1 parent 21333be commit fc1323c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/offers/invoice_macros.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ macro_rules! invoice_builder_methods_test_common { (
8787
$self: ident, $self_type: ty, $invoice_fields: expr, $return_type: ty, $return_value: expr
8888
$(, $self_mut: tt)?
8989
) => {
90-
#[allow(dead_code)]
90+
#[allow(dead_code)] // TODO: mode to `#[cfg_attr(c_bindings, allow(dead_code))]` once we remove the `async_payments` cfg flag
9191
pub(crate) fn features_unchecked(
9292
$($self_mut)* $self: $self_type, features: Bolt12InvoiceFeatures
9393
) -> $return_type {

0 commit comments

Comments
 (0)