Skip to content

Commit 91cedd1

Browse files
tnullelnosh
authored andcommitted
Drop () from RouteParameters::default in docs
.. and link all instances for consistency.
1 parent 05dbcb5 commit 91cedd1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4876,7 +4876,7 @@ where
48764876
///
48774877
/// # Custom Routing Parameters
48784878
/// Users can customize routing parameters via [`RouteParametersConfig`].
4879-
/// To use default settings, call the function with `RouteParametersConfig::default()`.
4879+
/// To use default settings, call the function with [`RouteParametersConfig::default`].
48804880
pub fn pay_for_bolt11_invoice(
48814881
&self, invoice: &Bolt11Invoice, payment_id: PaymentId, amount_msats: Option<u64>,
48824882
route_params_config: RouteParametersConfig, retry_strategy: Retry
@@ -10393,7 +10393,7 @@ where
1039310393
/// # Custom Routing Parameters
1039410394
///
1039510395
/// Users can customize routing parameters via [`RouteParametersConfig`].
10396-
/// To use default settings, call the function with [`RouteParametersConfig::default()`].
10396+
/// To use default settings, call the function with [`RouteParametersConfig::default`].
1039710397
///
1039810398
/// # Payment
1039910399
///
@@ -10557,7 +10557,7 @@ where
1055710557
/// # Custom Routing Parameters
1055810558
///
1055910559
/// Users can customize routing parameters via [`RouteParametersConfig`].
10560-
/// To use default settings, call the function with [`RouteParametersConfig::default()`].
10560+
/// To use default settings, call the function with [`RouteParametersConfig::default`].
1056110561
///
1056210562
/// # Payment
1056310563
///

0 commit comments

Comments
 (0)