Commit 3929d07
committed
meta: fix clippy warning that should not happen
This commit is separate from the feature because probably
the route code is the commit c0f7de3
where the `async_payments` cfg is not set.
Fixing the following warning
error: associated function `features_unchecked` is never used
--> lightning/src/offers/invoice_macros.rs:91:2
|
91 | / pub(crate) fn features_unchecked(
92 | | $($self_mut)* $self: $self_type, features: Bolt12InvoiceFeatures
93 | | ) -> $return_type {
94 | | $invoice_fields.features = features;
95 | | $return_value
96 | | }
| |_____^
|
::: lightning/src/offers/static_invoice.rs:186:5
|
186 | invoice_builder_methods_test_common!(self, Self, self.invoice, Self, self, mut);
| ------------------------------------------------------------------------------- in this macro invocation
|
= note: `-D dead-code` implied by `-D warnings`
= note: this error originates in the macro `invoice_builder_methods_test_common` (in Nightly builds, run with -Z macro-backtrace for more info)
Signed-off-by: Vincenzo Palazzo <[email protected]>1 parent 0f406a2 commit 3929d07
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| |||
0 commit comments