From: Valentine Wallace Date: Mon, 13 Feb 2023 16:36:46 +0000 (-0500) Subject: Reword and fix grammar in PartialFailure docs X-Git-Tag: v0.0.114-beta~17^2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=da34ada8d4df31f96e69133e7bdad891a2710001;p=rust-lightning Reword and fix grammar in PartialFailure docs --- diff --git a/lightning/src/ln/outbound_payment.rs b/lightning/src/ln/outbound_payment.rs index 346190e20..490aa9069 100644 --- a/lightning/src/ln/outbound_payment.rs +++ b/lightning/src/ln/outbound_payment.rs @@ -360,13 +360,13 @@ pub enum PaymentSendFailure { /// [`Event::PaymentSent`]: crate::util::events::Event::PaymentSent /// [`Event::PaymentFailed`]: crate::util::events::Event::PaymentFailed DuplicatePayment, - /// Some paths which were attempted failed to send, though possibly not all. At least some - /// paths have irrevocably committed to the HTLC. + /// Some paths that were attempted failed to send, though some paths may have succeeded. At least + /// some paths have irrevocably committed to the HTLC. /// - /// The results here are ordered the same as the paths in the route object which was passed to + /// The results here are ordered the same as the paths in the route object that was passed to /// send_payment. /// - /// Any entries which contain `Err(APIError::MonitorUpdateInprogress)` will send once a + /// Any entries that contain `Err(APIError::MonitorUpdateInprogress)` will send once a /// [`MonitorEvent::Completed`] is provided for the next-hop channel with the latest update_id. /// /// [`MonitorEvent::Completed`]: crate::chain::channelmonitor::MonitorEvent::Completed