Fix rustdoc error on nightly
authorJeffrey Czyz <jkczyz@gmail.com>
Sat, 12 Feb 2022 04:17:27 +0000 (22:17 -0600)
committerJeffrey Czyz <jkczyz@gmail.com>
Fri, 18 Feb 2022 21:35:58 +0000 (15:35 -0600)
lightning/src/util/events.rs

index 8c9f5af4c0bf52cd9c2ea51cb2432373bea3b457..3b90015cab901bd0ba72586ffad37dd65d3be711 100644 (file)
@@ -235,7 +235,7 @@ pub enum Event {
        /// Note that this does *not* indicate that all paths for an MPP payment have failed, see
        /// [`Event::PaymentFailed`] and [`all_paths_failed`].
        ///
-       /// [`all_paths_failed`]: Self::all_paths_failed
+       /// [`all_paths_failed`]: Self::PaymentPathFailed::all_paths_failed
        PaymentPathFailed {
                /// The id returned by [`ChannelManager::send_payment`] and used with
                /// [`ChannelManager::retry_payment`] and [`ChannelManager::abandon_payment`].