Skip to content

Commit 80afc60

Browse files
committed
f - Update some missed docs
1 parent c925934 commit 80afc60

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lightning-invoice/src/payment.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@
99

1010
//! A module for paying Lightning invoices and sending spontaneous payments.
1111
//!
12-
//! Defines an [`InvoicePayer`] utility for paying invoices, parameterized by [`Payer`] and
12+
//! Defines an [`InvoicePayer`] utility for sending payments, parameterized by [`Payer`] and
1313
//! [`Router`] traits. Implementations of [`Payer`] provide the payer's node id, channels, and means
1414
//! to send a payment over a [`Route`]. Implementations of [`Router`] find a [`Route`] between payer
15-
//! and payee using information provided by the payer and from the payee's [`Invoice`].
15+
//! and payee using information provided by the payer and from the payee's [`Invoice`], when
16+
//! applicable.
1617
//!
1718
//! [`InvoicePayer`] is capable of retrying failed payments. It accomplishes this by implementing
1819
//! [`EventHandler`] which decorates a user-provided handler. It will intercept any
@@ -134,7 +135,7 @@ use std::ops::Deref;
134135
use std::sync::Mutex;
135136
use std::time::{Duration, SystemTime};
136137

137-
/// A utility for paying [`Invoice]`s.
138+
/// A utility for paying [`Invoice`]s and sending spontaneous payments.
138139
pub struct InvoicePayer<P: Deref, R, S: Deref, L: Deref, E>
139140
where
140141
P::Target: Payer,

0 commit comments

Comments
 (0)