Fix rustdoc error on nightly
[rust-lightning] / 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`].