From d78d06ceba3a752bbc59d75b7544661d387e1f5c Mon Sep 17 00:00:00 2001 From: Elias Rohrer Date: Fri, 13 Jan 2023 09:18:34 -0600 Subject: [PATCH 1/1] Fix misc doc warnings. --- lightning-invoice/src/lib.rs | 2 +- lightning/src/util/config.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lightning-invoice/src/lib.rs b/lightning-invoice/src/lib.rs index 4737173e..dd0f5c3a 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 5b1bb672..18bba29f 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. /// -- 2.30.2