Skip to content

Commit 9dfc23e

Browse files
committed
Fix misc doc warnings.
1 parent 38009cd commit 9dfc23e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lightning-invoice/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ pub struct RawInvoice {
297297

298298
/// Data of the `RawInvoice` that is encoded in the human readable part
299299
///
300-
/// (C-not exported) As we don't yet support Option<Enum>
300+
/// (C-not exported) As we don't yet support `Option<Enum>`
301301
#[derive(Eq, PartialEq, Debug, Clone, Hash)]
302302
pub struct RawHrp {
303303
/// The currency deferred from the 3rd and 4th character of the bech32 transaction

lightning/src/util/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ impl Default for ChannelHandshakeConfig {
171171
///
172172
/// These limits are only applied to our counterparty's limits, not our own.
173173
///
174-
/// Use 0/<type>::max_value() as appropriate to skip checking.
174+
/// Use 0/`<type>::max_value()` as appropriate to skip checking.
175175
///
176176
/// Provides sane defaults for most configurations.
177177
///

0 commit comments

Comments
 (0)