Skip to content

Commit 8954280

Browse files
committed
Grammar fix in docs
1 parent 6f6e086 commit 8954280

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
@@ -8244,13 +8244,13 @@ where
82448244
self.best_block.read().unwrap().clone()
82458245
}
82468246

8247-
/// Fetches the set of [`NodeFeatures`] flags which are provided by or required by
8247+
/// Fetches the set of [`NodeFeatures`] flags that are provided by or required by
82488248
/// [`ChannelManager`].
82498249
pub fn node_features(&self) -> NodeFeatures {
82508250
provided_node_features(&self.default_configuration)
82518251
}
82528252

8253-
/// Fetches the set of [`Bolt11InvoiceFeatures`] flags which are provided by or required by
8253+
/// Fetches the set of [`Bolt11InvoiceFeatures`] flags that are provided by or required by
82548254
/// [`ChannelManager`].
82558255
///
82568256
/// Note that the invoice feature flags can vary depending on if the invoice is a "phantom invoice"
@@ -8266,19 +8266,19 @@ where
82668266
provided_bolt12_invoice_features(&self.default_configuration)
82678267
}
82688268

8269-
/// Fetches the set of [`ChannelFeatures`] flags which are provided by or required by
8269+
/// Fetches the set of [`ChannelFeatures`] flags that are provided by or required by
82708270
/// [`ChannelManager`].
82718271
pub fn channel_features(&self) -> ChannelFeatures {
82728272
provided_channel_features(&self.default_configuration)
82738273
}
82748274

8275-
/// Fetches the set of [`ChannelTypeFeatures`] flags which are provided by or required by
8275+
/// Fetches the set of [`ChannelTypeFeatures`] flags that are provided by or required by
82768276
/// [`ChannelManager`].
82778277
pub fn channel_type_features(&self) -> ChannelTypeFeatures {
82788278
provided_channel_type_features(&self.default_configuration)
82798279
}
82808280

8281-
/// Fetches the set of [`InitFeatures`] flags which are provided by or required by
8281+
/// Fetches the set of [`InitFeatures`] flags that are provided by or required by
82828282
/// [`ChannelManager`].
82838283
pub fn init_features(&self) -> InitFeatures {
82848284
provided_init_features(&self.default_configuration)
@@ -8809,15 +8809,15 @@ where
88098809
}
88108810
}
88118811

8812-
/// Fetches the set of [`NodeFeatures`] flags which are provided by or required by
8812+
/// Fetches the set of [`NodeFeatures`] flags that are provided by or required by
88138813
/// [`ChannelManager`].
88148814
pub(crate) fn provided_node_features(config: &UserConfig) -> NodeFeatures {
88158815
let mut node_features = provided_init_features(config).to_context();
88168816
node_features.set_keysend_optional();
88178817
node_features
88188818
}
88198819

8820-
/// Fetches the set of [`Bolt11InvoiceFeatures`] flags which are provided by or required by
8820+
/// Fetches the set of [`Bolt11InvoiceFeatures`] flags that are provided by or required by
88218821
/// [`ChannelManager`].
88228822
///
88238823
/// Note that the invoice feature flags can vary depending on if the invoice is a "phantom invoice"
@@ -8833,19 +8833,19 @@ pub(crate) fn provided_bolt12_invoice_features(config: &UserConfig) -> Bolt12Inv
88338833
provided_init_features(config).to_context()
88348834
}
88358835

8836-
/// Fetches the set of [`ChannelFeatures`] flags which are provided by or required by
8836+
/// Fetches the set of [`ChannelFeatures`] flags that are provided by or required by
88378837
/// [`ChannelManager`].
88388838
pub(crate) fn provided_channel_features(config: &UserConfig) -> ChannelFeatures {
88398839
provided_init_features(config).to_context()
88408840
}
88418841

8842-
/// Fetches the set of [`ChannelTypeFeatures`] flags which are provided by or required by
8842+
/// Fetches the set of [`ChannelTypeFeatures`] flags that are provided by or required by
88438843
/// [`ChannelManager`].
88448844
pub(crate) fn provided_channel_type_features(config: &UserConfig) -> ChannelTypeFeatures {
88458845
ChannelTypeFeatures::from_init(&provided_init_features(config))
88468846
}
88478847

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

0 commit comments

Comments
 (0)