From: Elias Rohrer Date: Fri, 13 Jan 2023 15:18:34 +0000 (-0600) Subject: Fix misc doc warnings. X-Git-Tag: v0.0.114-beta~62^2~2 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=d78d06ceba3a752bbc59d75b7544661d387e1f5c;p=rust-lightning Fix misc doc warnings. --- diff --git a/lightning-invoice/src/lib.rs b/lightning-invoice/src/lib.rs index 4737173ee..dd0f5c3ab 100644 --- a/lightning-invoice/src/lib.rs +++ b/lightning-invoice/src/lib.rs @@ -297,7 +297,7 @@ pub struct RawInvoice { /// Data of the `RawInvoice` that is encoded in the human readable part /// -/// (C-not exported) As we don't yet support Option +/// (C-not exported) As we don't yet support `Option` #[derive(Eq, PartialEq, Debug, Clone, Hash)] pub struct RawHrp { /// The currency deferred from the 3rd and 4th character of the bech32 transaction diff --git a/lightning/src/util/config.rs b/lightning/src/util/config.rs index 5b1bb6729..18bba29fe 100644 --- a/lightning/src/util/config.rs +++ b/lightning/src/util/config.rs @@ -171,7 +171,7 @@ impl Default for ChannelHandshakeConfig { /// /// These limits are only applied to our counterparty's limits, not our own. /// -/// Use 0/::max_value() as appropriate to skip checking. +/// Use 0/`::max_value()` as appropriate to skip checking. /// /// Provides sane defaults for most configurations. ///