From 80802006ab35a139008a71cff8addf62ea69e72f Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Mon, 1 Nov 2021 04:23:30 +0000 Subject: [PATCH] Add `(C-not exported)` tag to a `Payee` modifier with move semantics This matches the other `Payee` move-modifier functions. --- lightning/src/routing/router.rs | 2 ++ 1 file changed, 2 insertions(+) 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 } } -- 2.39.5