Skip to content

Commit dbcde1c

Browse files
committed
Grammar fix in docs
1 parent 2d6f607 commit dbcde1c

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
@@ -7663,13 +7663,13 @@ where
76637663
self.best_block.read().unwrap().clone()
76647664
}
76657665

7666-
/// Fetches the set of [`NodeFeatures`] flags which are provided by or required by
7666+
/// Fetches the set of [`NodeFeatures`] flags that are provided by or required by
76677667
/// [`ChannelManager`].
76687668
pub fn node_features(&self) -> NodeFeatures {
76697669
provided_node_features(&self.default_configuration)
76707670
}
76717671

7672-
/// Fetches the set of [`Bolt11InvoiceFeatures`] flags which are provided by or required by
7672+
/// Fetches the set of [`Bolt11InvoiceFeatures`] flags that are provided by or required by
76737673
/// [`ChannelManager`].
76747674
///
76757675
/// Note that the invoice feature flags can vary depending on if the invoice is a "phantom invoice"
@@ -7685,19 +7685,19 @@ where
76857685
provided_bolt12_invoice_features(&self.default_configuration)
76867686
}
76877687

7688-
/// Fetches the set of [`ChannelFeatures`] flags which are provided by or required by
7688+
/// Fetches the set of [`ChannelFeatures`] flags that are provided by or required by
76897689
/// [`ChannelManager`].
76907690
pub fn channel_features(&self) -> ChannelFeatures {
76917691
provided_channel_features(&self.default_configuration)
76927692
}
76937693

7694-
/// Fetches the set of [`ChannelTypeFeatures`] flags which are provided by or required by
7694+
/// Fetches the set of [`ChannelTypeFeatures`] flags that are provided by or required by
76957695
/// [`ChannelManager`].
76967696
pub fn channel_type_features(&self) -> ChannelTypeFeatures {
76977697
provided_channel_type_features(&self.default_configuration)
76987698
}
76997699

7700-
/// Fetches the set of [`InitFeatures`] flags which are provided by or required by
7700+
/// Fetches the set of [`InitFeatures`] flags that are provided by or required by
77017701
/// [`ChannelManager`].
77027702
pub fn init_features(&self) -> InitFeatures {
77037703
provided_init_features(&self.default_configuration)
@@ -8229,15 +8229,15 @@ where
82298229
}
82308230
}
82318231

8232-
/// Fetches the set of [`NodeFeatures`] flags which are provided by or required by
8232+
/// Fetches the set of [`NodeFeatures`] flags that are provided by or required by
82338233
/// [`ChannelManager`].
82348234
pub(crate) fn provided_node_features(config: &UserConfig) -> NodeFeatures {
82358235
let mut node_features = provided_init_features(config).to_context();
82368236
node_features.set_keysend_optional();
82378237
node_features
82388238
}
82398239

8240-
/// Fetches the set of [`Bolt11InvoiceFeatures`] flags which are provided by or required by
8240+
/// Fetches the set of [`Bolt11InvoiceFeatures`] flags that are provided by or required by
82418241
/// [`ChannelManager`].
82428242
///
82438243
/// Note that the invoice feature flags can vary depending on if the invoice is a "phantom invoice"
@@ -8253,19 +8253,19 @@ pub(crate) fn provided_bolt12_invoice_features(config: &UserConfig) -> Bolt12Inv
82538253
provided_init_features(config).to_context()
82548254
}
82558255

8256-
/// Fetches the set of [`ChannelFeatures`] flags which are provided by or required by
8256+
/// Fetches the set of [`ChannelFeatures`] flags that are provided by or required by
82578257
/// [`ChannelManager`].
82588258
pub(crate) fn provided_channel_features(config: &UserConfig) -> ChannelFeatures {
82598259
provided_init_features(config).to_context()
82608260
}
82618261

8262-
/// Fetches the set of [`ChannelTypeFeatures`] flags which are provided by or required by
8262+
/// Fetches the set of [`ChannelTypeFeatures`] flags that are provided by or required by
82638263
/// [`ChannelManager`].
82648264
pub(crate) fn provided_channel_type_features(config: &UserConfig) -> ChannelTypeFeatures {
82658265
ChannelTypeFeatures::from_init(&provided_init_features(config))
82668266
}
82678267

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

0 commit comments

Comments
 (0)