From: Matt Corallo Date: Mon, 1 Nov 2021 04:23:30 +0000 (+0000) Subject: Add `(C-not exported)` tag to a `Payee` modifier with move semantics X-Git-Tag: v0.0.103~1^2~1 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=80802006ab35a139008a71cff8addf62ea69e72f;p=rust-lightning Add `(C-not exported)` tag to a `Payee` modifier with move semantics This matches the other `Payee` move-modifier functions. --- diff --git a/lightning/src/routing/router.rs b/lightning/src/routing/router.rs index 6caba6778..974ae74e4 100644 --- a/lightning/src/routing/router.rs +++ b/lightning/src/routing/router.rs @@ -232,6 +232,8 @@ impl Payee { } /// Includes a payment expiration in seconds relative to the UNIX epoch. + /// + /// (C-not exported) since bindings don't support move semantics pub fn with_expiry_time(self, expiry_time: u64) -> Self { Self { expiry_time: Some(expiry_time), ..self } }