Skip to content

Commit 561b4bc

Browse files
committed
f ticks, and better wording
1 parent b40bbee commit 561b4bc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lightning/src/ln/peer_handler.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ impl<Descriptor: SocketDescriptor, CM: Deref, RM: Deref, L: Deref, CMH: Deref> P
622622
/// peer using the init message.
623623
/// The user should pass the remote network address of the host they are connected to.
624624
///
625-
/// If an Err is returned here you must disconnect the connection immediately.
625+
/// If an `Err` is returned here you must disconnect the connection immediately.
626626
///
627627
/// Returns a small number of bytes to send to the remote node (currently always 50).
628628
///
@@ -670,8 +670,8 @@ impl<Descriptor: SocketDescriptor, CM: Deref, RM: Deref, L: Deref, CMH: Deref> P
670670
/// The user should pass the remote network address of the host they are connected to.
671671
///
672672
/// May refuse the connection by returning an Err, but will never write bytes to the remote end
673-
/// (outbound connector always speaks first). Note that if an Err is returned here you must
674-
/// disconnect the connection immediately.
673+
/// (outbound connector always speaks first). If an `Err` is returned here you must disconnect
674+
/// the connection immediately.
675675
///
676676
/// Panics if descriptor is duplicative with some other descriptor which has not yet been
677677
/// [`socket_disconnected()`].

0 commit comments

Comments
 (0)