Skip to content

Commit da34ada

Browse files
Reword and fix grammar in PartialFailure docs
1 parent 5c6d8a7 commit da34ada

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lightning/src/ln/outbound_payment.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -360,13 +360,13 @@ pub enum PaymentSendFailure {
360360
/// [`Event::PaymentSent`]: crate::util::events::Event::PaymentSent
361361
/// [`Event::PaymentFailed`]: crate::util::events::Event::PaymentFailed
362362
DuplicatePayment,
363-
/// Some paths which were attempted failed to send, though possibly not all. At least some
364-
/// paths have irrevocably committed to the HTLC.
363+
/// Some paths that were attempted failed to send, though some paths may have succeeded. At least
364+
/// some paths have irrevocably committed to the HTLC.
365365
///
366-
/// The results here are ordered the same as the paths in the route object which was passed to
366+
/// The results here are ordered the same as the paths in the route object that was passed to
367367
/// send_payment.
368368
///
369-
/// Any entries which contain `Err(APIError::MonitorUpdateInprogress)` will send once a
369+
/// Any entries that contain `Err(APIError::MonitorUpdateInprogress)` will send once a
370370
/// [`MonitorEvent::Completed`] is provided for the next-hop channel with the latest update_id.
371371
///
372372
/// [`MonitorEvent::Completed`]: crate::chain::channelmonitor::MonitorEvent::Completed

0 commit comments

Comments
 (0)