Fix `cargo doc` on older rustc
authorMatt Corallo <git@bluematt.me>
Fri, 17 Sep 2021 16:00:24 +0000 (16:00 +0000)
committerMatt Corallo <git@bluematt.me>
Fri, 22 Oct 2021 19:34:18 +0000 (19:34 +0000)
Apparently at least rustc 1.48 doesn't support `Self` in doc links,
so we make it explicit.

lightning-background-processor/src/lib.rs

index e38a4a975b2a8ff4a9c750081c9d43166ffd21af..0fef55a95c2c5369408613cebfa574e9b8b95c05 100644 (file)
@@ -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