Skip to content

Commit 2aa3787

Browse files
committed
Use triple slash on public method docs
1 parent dd053f9 commit 2aa3787

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lightning/src/chain/channelmonitor.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -1187,7 +1187,7 @@ impl<Signer: Sign> ChannelMonitor<Signer> {
11871187
payment_hash, payment_preimage, broadcaster, fee_estimator, logger)
11881188
}
11891189

1190-
// Broadcasts the latest commitment transaction only if it's safe to do so.
1190+
/// Broadcasts the latest commitment transaction only if it's safe to do so.
11911191
pub(crate) fn maybe_broadcast_latest_holder_commitment_txn<B: Deref, L: Deref>(
11921192
&self,
11931193
broadcaster: &B,
@@ -1199,8 +1199,8 @@ impl<Signer: Sign> ChannelMonitor<Signer> {
11991199
self.inner.lock().unwrap().maybe_broadcast_latest_holder_commitment_txn(broadcaster, logger)
12001200
}
12011201

1202-
// Broadcasts the latest commitment transaction, even if we can't ensure it's safe to do so
1203-
// due to missing information.
1202+
/// Broadcasts the latest commitment transaction, even if we can't ensure it's safe to do so
1203+
/// due to missing information.
12041204
pub fn force_broadcast_latest_holder_commitment_txn_unsafe<B: Deref, L: Deref>(
12051205
&self,
12061206
broadcaster: &B,
@@ -2169,7 +2169,7 @@ impl<Signer: Sign> ChannelMonitorImpl<Signer> {
21692169
}
21702170
}
21712171

2172-
// Broadcasts the latest commitment transaction only if it's safe to do so.
2172+
/// Broadcasts the latest commitment transaction only if it's safe to do so.
21732173
pub fn maybe_broadcast_latest_holder_commitment_txn<B: Deref, L: Deref>(&mut self, broadcaster: &B, logger: &L)
21742174
where B::Target: BroadcasterInterface,
21752175
L::Target: Logger,
@@ -2185,8 +2185,8 @@ impl<Signer: Sign> ChannelMonitorImpl<Signer> {
21852185
}
21862186
}
21872187

2188-
// Broadcasts the latest commitment transaction, even if we can't ensure it's safe to do so
2189-
// due to missing information.
2188+
/// Broadcasts the latest commitment transaction, even if we can't ensure it's safe to do so
2189+
/// due to missing information.
21902190
pub fn force_broadcast_latest_holder_commitment_txn_unsafe<B: Deref, L: Deref>(&mut self, broadcaster: &B, logger: &L)
21912191
where B::Target: BroadcasterInterface,
21922192
L::Target: Logger,

0 commit comments

Comments
 (0)