Skip to content

Commit 818030a

Browse files
committed
Add (C-not exported) tag to a Payee modifier with move semantics
This matches the other `Payee` move-modifier functions.
1 parent 91d5169 commit 818030a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lightning/src/routing/router.rs

+2
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,8 @@ impl Payee {
232232
}
233233

234234
/// Includes a payment expiration in seconds relative to the UNIX epoch.
235+
///
236+
/// (C-not exported) since bindings don't support move semantics
235237
pub fn with_expiry_time(self, expiry_time: u64) -> Self {
236238
Self { expiry_time: Some(expiry_time), ..self }
237239
}

0 commit comments

Comments
 (0)