Skip to content

Commit 312e617

Browse files
committed
f fix docrefs
1 parent c5322f7 commit 312e617

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

lightning/src/ln/peer_handler.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,8 @@ pub type SimpleRefPeerManager<'a, 'b, 'c, 'd, 'e, 'f, 'g, SD, M, T, F, C, L> = P
335335
/// essentially you should default to using a SimpleRefPeerManager, and use a
336336
/// SimpleArcPeerManager when you require a PeerManager with a static lifetime, such as when
337337
/// you're using lightning-net-tokio.
338+
///
339+
/// [`read_event`]: PeerManager::read_event
338340
pub struct PeerManager<Descriptor: SocketDescriptor, CM: Deref, RM: Deref, L: Deref> where
339341
CM::Target: ChannelMessageHandler,
340342
RM::Target: RoutingMessageHandler,
@@ -1109,13 +1111,13 @@ impl<Descriptor: SocketDescriptor, CM: Deref, RM: Deref, L: Deref> PeerManager<D
11091111

11101112
/// Checks for any events generated by our handlers and processes them. Includes sending most
11111113
/// response messages as well as messages generated by calls to handler functions directly (eg
1112-
/// functions like [`ChannelManager::process_pending_htlc_forward`] or [`send_payment`]).
1114+
/// functions like [`ChannelManager::process_pending_htlc_forwards`] or [`send_payment`]).
11131115
///
11141116
/// Will most likely call [`send_data`] on descriptors previously provided to
11151117
/// new_*\_connection. Thus, be very careful with reentrancy issues!
11161118
///
11171119
/// [`send_payment`]: crate::ln::channelmanager::ChannelManager::send_payment
1118-
/// [`ChannelManager::process_pending_htlc_forward`]: crate::ln::channelmanager::ChannelManager::process_pending_htlc_forward
1120+
/// [`ChannelManager::process_pending_htlc_forwards`]: crate::ln::channelmanager::ChannelManager::process_pending_htlc_forwards
11191121
/// [`send_data`]: SocketDescriptor::send_data
11201122
pub fn process_events(&self) {
11211123
{
@@ -1377,6 +1379,8 @@ impl<Descriptor: SocketDescriptor, CM: Deref, RM: Deref, L: Deref> PeerManager<D
13771379
///
13781380
/// Will most likely call [`send_data`] all descriptors previously provided to
13791381
/// new_*\_connection. Thus, be very careful with reentrancy issues!
1382+
///
1383+
/// [`send_data`]: SocketDescriptor::send_data
13801384
pub fn timer_tick_occurred(&self) {
13811385
let mut peers_lock = self.peers.lock().unwrap();
13821386
{

0 commit comments

Comments
 (0)