Skip to content

Commit b94f6f6

Browse files
committed
Drop () from RouteParameters::default in docs
.. and link all instances for consistency.
1 parent f473832 commit b94f6f6

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
@@ -4871,7 +4871,7 @@ where
48714871
///
48724872
/// # Custom Routing Parameters
48734873
/// Users can customize routing parameters via [`RouteParametersConfig`].
4874-
/// To use default settings, call the function with `RouteParametersConfig::default()`.
4874+
/// To use default settings, call the function with [`RouteParametersConfig::default`].
48754875
pub fn pay_for_bolt11_invoice(
48764876
&self, invoice: &Bolt11Invoice, payment_id: PaymentId, amount_msats: Option<u64>,
48774877
route_params_config: RouteParametersConfig, retry_strategy: Retry
@@ -10478,7 +10478,7 @@ where
1047810478
/// # Custom Routing Parameters
1047910479
///
1048010480
/// Users can customize routing parameters via [`RouteParametersConfig`].
10481-
/// To use default settings, call the function with [`RouteParametersConfig::default()`].
10481+
/// To use default settings, call the function with [`RouteParametersConfig::default`].
1048210482
///
1048310483
/// # Payment
1048410484
///
@@ -10717,7 +10717,7 @@ where
1071710717
/// # Custom Routing Parameters
1071810718
///
1071910719
/// Users can customize routing parameters via [`RouteParametersConfig`].
10720-
/// To use default settings, call the function with [`RouteParametersConfig::default()`].
10720+
/// To use default settings, call the function with [`RouteParametersConfig::default`].
1072110721
///
1072210722
/// # Payment
1072310723
///

0 commit comments

Comments
 (0)