From: Matt Corallo Date: Fri, 17 Sep 2021 16:00:24 +0000 (+0000) Subject: Fix `cargo doc` on older rustc X-Git-Tag: v0.0.104~44^2~3 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=d0c3fb745ddc0105838019f8a9a1ef04449d91ba;p=rust-lightning Fix `cargo doc` on older rustc Apparently at least rustc 1.48 doesn't support `Self` in doc links, so we make it explicit. --- diff --git a/lightning-background-processor/src/lib.rs b/lightning-background-processor/src/lib.rs index e38a4a975..0fef55a95 100644 --- a/lightning-background-processor/src/lib.rs +++ b/lightning-background-processor/src/lib.rs @@ -154,7 +154,7 @@ impl BackgroundProcessor { /// functionality implemented by other handlers. /// * [`NetGraphMsgHandler`] if given will update the [`NetworkGraph`] based on payment failures. /// - /// [top-level documentation]: Self + /// [top-level documentation]: BackgroundProcessor /// [`join`]: Self::join /// [`stop`]: Self::stop /// [`ChannelManager`]: lightning::ln::channelmanager::ChannelManager