Skip to content

Commit 6d207ab

Browse files
committed
f - Add links to any doc references
1 parent f3d9a56 commit 6d207ab

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

lightning/src/events/mod.rs

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -280,12 +280,18 @@ pub enum PaymentFailureReason {
280280
/// [`ChannelManager::abandon_payment`]: crate::ln::channelmanager::ChannelManager::abandon_payment
281281
UserAbandoned,
282282
/// We exhausted all of our retry attempts while trying to send the payment, or we
283-
/// exhausted the `Retry::Timeout` if the user set one. If at any point the reason a retry
283+
/// exhausted the [`Retry::Timeout`] if the user set one. If at any point the reason a retry
284284
/// attempt failed while being forwarded along the path, a [`Event::PaymentPathFailed`] will
285285
/// have come before this.
286+
///
287+
/// [`Retry::Timeout`]: crate::ln::channelmanager::Retry::Timeout
286288
RetriesExhausted,
287-
/// The payment expired while retrying. If the user chooses to include an `expiry_time` in their
288-
/// `PaymentParams` this payment will be failed if it is retried after this time has elapsed.
289+
/// The payment expired while retrying. If the user chooses to include an
290+
/// [`PaymentParameters::expiry_time`] in their [`PaymentParameters`] this payment will be
291+
/// failed if it is retried after this time has elapsed.
292+
///
293+
/// [`PaymentParameters`]: crate::routing::router::PaymentParameters
294+
/// [`PaymentParameters::expiry_time`]: crate::routing::router::PaymentParameters::expiry_time
289295
PaymentExpired,
290296
/// We failed to find a route while retrying the payment.
291297
RouteNotFound,

0 commit comments

Comments
 (0)