Skip to content

Commit 5697a1a

Browse files
committed
Grammar fix in docs
1 parent 9eb6ca5 commit 5697a1a

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8089,13 +8089,13 @@ where
80898089
self.best_block.read().unwrap().clone()
80908090
}
80918091

8092-
/// Fetches the set of [`NodeFeatures`] flags which are provided by or required by
8092+
/// Fetches the set of [`NodeFeatures`] flags that are provided by or required by
80938093
/// [`ChannelManager`].
80948094
pub fn node_features(&self) -> NodeFeatures {
80958095
provided_node_features(&self.default_configuration)
80968096
}
80978097

8098-
/// Fetches the set of [`Bolt11InvoiceFeatures`] flags which are provided by or required by
8098+
/// Fetches the set of [`Bolt11InvoiceFeatures`] flags that are provided by or required by
80998099
/// [`ChannelManager`].
81008100
///
81018101
/// Note that the invoice feature flags can vary depending on if the invoice is a "phantom invoice"
@@ -8111,19 +8111,19 @@ where
81118111
provided_bolt12_invoice_features(&self.default_configuration)
81128112
}
81138113

8114-
/// Fetches the set of [`ChannelFeatures`] flags which are provided by or required by
8114+
/// Fetches the set of [`ChannelFeatures`] flags that are provided by or required by
81158115
/// [`ChannelManager`].
81168116
pub fn channel_features(&self) -> ChannelFeatures {
81178117
provided_channel_features(&self.default_configuration)
81188118
}
81198119

8120-
/// Fetches the set of [`ChannelTypeFeatures`] flags which are provided by or required by
8120+
/// Fetches the set of [`ChannelTypeFeatures`] flags that are provided by or required by
81218121
/// [`ChannelManager`].
81228122
pub fn channel_type_features(&self) -> ChannelTypeFeatures {
81238123
provided_channel_type_features(&self.default_configuration)
81248124
}
81258125

8126-
/// Fetches the set of [`InitFeatures`] flags which are provided by or required by
8126+
/// Fetches the set of [`InitFeatures`] flags that are provided by or required by
81278127
/// [`ChannelManager`].
81288128
pub fn init_features(&self) -> InitFeatures {
81298129
provided_init_features(&self.default_configuration)
@@ -8654,15 +8654,15 @@ where
86548654
}
86558655
}
86568656

8657-
/// Fetches the set of [`NodeFeatures`] flags which are provided by or required by
8657+
/// Fetches the set of [`NodeFeatures`] flags that are provided by or required by
86588658
/// [`ChannelManager`].
86598659
pub(crate) fn provided_node_features(config: &UserConfig) -> NodeFeatures {
86608660
let mut node_features = provided_init_features(config).to_context();
86618661
node_features.set_keysend_optional();
86628662
node_features
86638663
}
86648664

8665-
/// Fetches the set of [`Bolt11InvoiceFeatures`] flags which are provided by or required by
8665+
/// Fetches the set of [`Bolt11InvoiceFeatures`] flags that are provided by or required by
86668666
/// [`ChannelManager`].
86678667
///
86688668
/// Note that the invoice feature flags can vary depending on if the invoice is a "phantom invoice"
@@ -8678,19 +8678,19 @@ pub(crate) fn provided_bolt12_invoice_features(config: &UserConfig) -> Bolt12Inv
86788678
provided_init_features(config).to_context()
86798679
}
86808680

8681-
/// Fetches the set of [`ChannelFeatures`] flags which are provided by or required by
8681+
/// Fetches the set of [`ChannelFeatures`] flags that are provided by or required by
86828682
/// [`ChannelManager`].
86838683
pub(crate) fn provided_channel_features(config: &UserConfig) -> ChannelFeatures {
86848684
provided_init_features(config).to_context()
86858685
}
86868686

8687-
/// Fetches the set of [`ChannelTypeFeatures`] flags which are provided by or required by
8687+
/// Fetches the set of [`ChannelTypeFeatures`] flags that are provided by or required by
86888688
/// [`ChannelManager`].
86898689
pub(crate) fn provided_channel_type_features(config: &UserConfig) -> ChannelTypeFeatures {
86908690
ChannelTypeFeatures::from_init(&provided_init_features(config))
86918691
}
86928692

8693-
/// Fetches the set of [`InitFeatures`] flags which are provided by or required by
8693+
/// Fetches the set of [`InitFeatures`] flags that are provided by or required by
86948694
/// [`ChannelManager`].
86958695
pub fn provided_init_features(config: &UserConfig) -> InitFeatures {
86968696
// Note that if new features are added here which other peers may (eventually) require, we

0 commit comments

Comments
 (0)