Skip to content

Commit fe114ef

Browse files
committed
Fix typos
1 parent b7f73fa commit fe114ef

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

lightning/src/onion_message/messenger.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ where
606606
/// `path`.
607607
///
608608
/// Returns the node id of the peer to send the message to, the message itself, and any addresses
609-
/// need to connect to the first node.
609+
/// needed to connect to the first node.
610610
///
611611
/// Returns [`SendError::UnresolvedIntroductionNode`] if:
612612
/// - `destination` contains a blinded path with an [`IntroductionNode::DirectedShortChannelId`],

lightning/src/routing/router.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1144,11 +1144,11 @@ pub struct FirstHopCandidate<'a> {
11441144
///
11451145
/// [`find_route`] validates this prior to constructing a [`CandidateRouteHop`].
11461146
///
1147-
/// This is not exported to bindings users as lifetimes are not expressable in most languages.
1147+
/// This is not exported to bindings users as lifetimes are not expressible in most languages.
11481148
pub details: &'a ChannelDetails,
11491149
/// The node id of the payer, which is also the source side of this candidate route hop.
11501150
///
1151-
/// This is not exported to bindings users as lifetimes are not expressable in most languages.
1151+
/// This is not exported to bindings users as lifetimes are not expressible in most languages.
11521152
pub payer_node_id: &'a NodeId,
11531153
}
11541154

@@ -1158,7 +1158,7 @@ pub struct PublicHopCandidate<'a> {
11581158
/// Information about the channel, including potentially its capacity and
11591159
/// direction-specific information.
11601160
///
1161-
/// This is not exported to bindings users as lifetimes are not expressable in most languages.
1161+
/// This is not exported to bindings users as lifetimes are not expressible in most languages.
11621162
pub info: DirectedChannelInfo<'a>,
11631163
/// The short channel ID of the channel, i.e. the identifier by which we refer to this
11641164
/// channel.
@@ -1170,11 +1170,11 @@ pub struct PublicHopCandidate<'a> {
11701170
pub struct PrivateHopCandidate<'a> {
11711171
/// Information about the private hop communicated via BOLT 11.
11721172
///
1173-
/// This is not exported to bindings users as lifetimes are not expressable in most languages.
1173+
/// This is not exported to bindings users as lifetimes are not expressible in most languages.
11741174
pub hint: &'a RouteHintHop,
11751175
/// Node id of the next hop in BOLT 11 route hint.
11761176
///
1177-
/// This is not exported to bindings users as lifetimes are not expressable in most languages.
1177+
/// This is not exported to bindings users as lifetimes are not expressible in most languages.
11781178
pub target_node_id: &'a NodeId
11791179
}
11801180

@@ -1189,7 +1189,7 @@ pub struct BlindedPathCandidate<'a> {
11891189
/// Information about the blinded path including the fee, HTLC amount limits, and
11901190
/// cryptographic material required to build an HTLC through the given path.
11911191
///
1192-
/// This is not exported to bindings users as lifetimes are not expressable in most languages.
1192+
/// This is not exported to bindings users as lifetimes are not expressible in most languages.
11931193
pub hint: &'a (BlindedPayInfo, BlindedPath),
11941194
/// Index of the hint in the original list of blinded hints.
11951195
///
@@ -1211,7 +1211,7 @@ pub struct OneHopBlindedPathCandidate<'a> {
12111211
///
12121212
/// Note that the [`BlindedPayInfo`] is ignored here.
12131213
///
1214-
/// This is not exported to bindings users as lifetimes are not expressable in most languages.
1214+
/// This is not exported to bindings users as lifetimes are not expressible in most languages.
12151215
pub hint: &'a (BlindedPayInfo, BlindedPath),
12161216
/// Index of the hint in the original list of blinded hints.
12171217
///

0 commit comments

Comments
 (0)