Skip to content

Commit 32d2d0f

Browse files
committed
Add relevant no-export tags to functions returning builders
Because we can't map move semantics in most languages, we also can't map our current builders. Thus, we have to mark them no-export.
1 parent 4918c41 commit 32d2d0f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lightning/src/ln/channelmanager.rs

+4
Original file line numberDiff line numberDiff line change
@@ -7331,6 +7331,8 @@ where
73317331
/// Requires a direct connection to the introduction node in the responding [`InvoiceRequest`]'s
73327332
/// reply path.
73337333
///
7334+
/// This is not exported to bindings users as builder patterns don't map outside of move semantics.
7335+
///
73347336
/// [`Offer`]: crate::offers::offer::Offer
73357337
/// [`InvoiceRequest`]: crate::offers::invoice_request::InvoiceRequest
73367338
pub fn create_offer_builder(
@@ -7384,6 +7386,8 @@ where
73847386
/// Errors if a duplicate `payment_id` is provided given the caveats in the aforementioned link
73857387
/// or if `amount_msats` is invalid.
73867388
///
7389+
/// This is not exported to bindings users as builder patterns don't map outside of move semantics.
7390+
///
73877391
/// [`Refund`]: crate::offers::refund::Refund
73887392
/// [`Bolt12Invoice`]: crate::offers::invoice::Bolt12Invoice
73897393
/// [`Bolt12Invoice::payment_paths`]: crate::offers::invoice::Bolt12Invoice::payment_paths

0 commit comments

Comments
 (0)