@@ -321,13 +321,12 @@ impl Refund {
321321 self . contents . payer_note . as_ref ( ) . map ( |payer_note| PrintableString ( payer_note. as_str ( ) ) )
322322 }
323323
324- /// Creates an [`Invoice `] for the refund with the given required fields and using the
324+ /// Creates an [`InvoiceBuilder `] for the refund with the given required fields and using the
325325 /// [`Duration`] since [`std::time::SystemTime::UNIX_EPOCH`] as the creation time.
326326 ///
327327 /// See [`Refund::respond_with_no_std`] for further details where the aforementioned creation
328328 /// time is used for the `created_at` parameter.
329329 ///
330- /// [`Invoice`]: crate::offers::invoice::Invoice
331330 /// [`Duration`]: core::time::Duration
332331 #[ cfg( feature = "std" ) ]
333332 pub fn respond_with (
@@ -341,7 +340,7 @@ impl Refund {
341340 self . respond_with_no_std ( payment_paths, payment_hash, signing_pubkey, created_at)
342341 }
343342
344- /// Creates an [`Invoice `] for the refund with the given required fields.
343+ /// Creates an [`InvoiceBuilder `] for the refund with the given required fields.
345344 ///
346345 /// Unless [`InvoiceBuilder::relative_expiry`] is set, the invoice will expire two hours after
347346 /// `created_at`, which is used to set [`Invoice::created_at`]. Useful for `no-std` builds where
@@ -360,7 +359,6 @@ impl Refund {
360359 ///
361360 /// Errors if the request contains unknown required features.
362361 ///
363- /// [`Invoice`]: crate::offers::invoice::Invoice
364362 /// [`Invoice::created_at`]: crate::offers::invoice::Invoice::created_at
365363 pub fn respond_with_no_std (
366364 & self , payment_paths : Vec < ( BlindedPath , BlindedPayInfo ) > , payment_hash : PaymentHash ,
0 commit comments