Skip to content

Commit b6c06cd

Browse files
committed
f - reorder macro uses
1 parent 8263315 commit b6c06cd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lightning/src/offers/offer.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,10 +412,11 @@ impl<'a, T: secp256k1::Signing> OfferBuilder<'a, DerivedMetadata, T> {
412412
impl OfferWithExplicitMetadataBuilder {
413413
#[cfg(not(test))]
414414
offer_explicit_metadata_builder_methods!(self, &mut Self, (), ());
415-
#[cfg(test)]
416-
offer_explicit_metadata_builder_methods!(self, &mut Self, &mut Self, self);
417415
#[cfg(not(test))]
418416
offer_builder_methods!(self, &mut Self, (), ());
417+
418+
#[cfg(test)]
419+
offer_explicit_metadata_builder_methods!(self, &mut Self, &mut Self, self);
419420
#[cfg(test)]
420421
offer_builder_methods!(self, &mut Self, &mut Self, self);
421422

@@ -432,6 +433,7 @@ impl OfferWithDerivedMetadataBuilder {
432433
offer_derived_metadata_builder_methods!();
433434
#[cfg(not(test))]
434435
offer_builder_methods!(self, &mut Self, (), ());
436+
435437
#[cfg(test)]
436438
offer_builder_methods!(self, &mut Self, &mut Self, self);
437439

0 commit comments

Comments
 (0)