From 2aa3787c8fa393f222d764774065d6ddbb6e4c3c Mon Sep 17 00:00:00 2001 From: QPotato Date: Mon, 5 Sep 2022 15:41:13 -0300 Subject: [PATCH] Use triple slash on public method docs --- lightning/src/chain/channelmonitor.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lightning/src/chain/channelmonitor.rs b/lightning/src/chain/channelmonitor.rs index 27fa0a69852..9afc77c6bd2 100644 --- a/lightning/src/chain/channelmonitor.rs +++ b/lightning/src/chain/channelmonitor.rs @@ -1187,7 +1187,7 @@ impl ChannelMonitor { payment_hash, payment_preimage, broadcaster, fee_estimator, logger) } - // Broadcasts the latest commitment transaction only if it's safe to do so. + /// Broadcasts the latest commitment transaction only if it's safe to do so. pub(crate) fn maybe_broadcast_latest_holder_commitment_txn( &self, broadcaster: &B, @@ -1199,8 +1199,8 @@ impl ChannelMonitor { self.inner.lock().unwrap().maybe_broadcast_latest_holder_commitment_txn(broadcaster, logger) } - // Broadcasts the latest commitment transaction, even if we can't ensure it's safe to do so - // due to missing information. + /// Broadcasts the latest commitment transaction, even if we can't ensure it's safe to do so + /// due to missing information. pub fn force_broadcast_latest_holder_commitment_txn_unsafe( &self, broadcaster: &B, @@ -2169,7 +2169,7 @@ impl ChannelMonitorImpl { } } - // Broadcasts the latest commitment transaction only if it's safe to do so. + /// Broadcasts the latest commitment transaction only if it's safe to do so. pub fn maybe_broadcast_latest_holder_commitment_txn(&mut self, broadcaster: &B, logger: &L) where B::Target: BroadcasterInterface, L::Target: Logger, @@ -2185,8 +2185,8 @@ impl ChannelMonitorImpl { } } - // Broadcasts the latest commitment transaction, even if we can't ensure it's safe to do so - // due to missing information. + /// Broadcasts the latest commitment transaction, even if we can't ensure it's safe to do so + /// due to missing information. pub fn force_broadcast_latest_holder_commitment_txn_unsafe(&mut self, broadcaster: &B, logger: &L) where B::Target: BroadcasterInterface, L::Target: Logger,