Fix misc doc warnings.
authorElias Rohrer <ero@tnull.de>
Fri, 13 Jan 2023 15:18:34 +0000 (09:18 -0600)
committerElias Rohrer <ero@tnull.de>
Sat, 14 Jan 2023 00:03:28 +0000 (18:03 -0600)
lightning-invoice/src/lib.rs
lightning/src/util/config.rs

index 4737173eef5da6e1f0ebdf16d8d235b536db4dce..dd0f5c3abe55b026a8d11e76a014388fae06ccd5 100644 (file)
@@ -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<Enum>
+/// (C-not exported) As we don't yet support `Option<Enum>`
 #[derive(Eq, PartialEq, Debug, Clone, Hash)]
 pub struct RawHrp {
        /// The currency deferred from the 3rd and 4th character of the bech32 transaction
index 5b1bb67292dc2b037fc03b162337d855d0392a96..18bba29fef414434b1fe4df2215e1dd59cbc3e7c 100644 (file)
@@ -171,7 +171,7 @@ impl Default for ChannelHandshakeConfig {
 ///
 /// These limits are only applied to our counterparty's limits, not our own.
 ///
-/// Use 0/<type>::max_value() as appropriate to skip checking.
+/// Use 0/`<type>::max_value()` as appropriate to skip checking.
 ///
 /// Provides sane defaults for most configurations.
 ///