From 53a616b46e5b99149886f5e65cead030000e29d6 Mon Sep 17 00:00:00 2001 From: Elias Rohrer Date: Fri, 19 Jul 2024 11:21:17 +0200 Subject: [PATCH] Correct `ConnectionNeeded` docs --- lightning/src/events/mod.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lightning/src/events/mod.rs b/lightning/src/events/mod.rs index 3972ea470..f3e280f57 100644 --- a/lightning/src/events/mod.rs +++ b/lightning/src/events/mod.rs @@ -756,8 +756,9 @@ pub enum Event { /// replies. Handlers should connect to the node otherwise any buffered messages may be lost. /// /// # Failure Behavior and Persistence - /// This event will eventually be replayed after failures-to-handle (i.e., the event handler - /// returning `Err(ReplayEvent ())`), but won't be persisted across restarts. + /// This event won't be replayed after failures-to-handle + /// (i.e., the event handler returning `Err(ReplayEvent ())`), and also won't be persisted + /// across restarts. /// /// [`OnionMessage`]: msgs::OnionMessage /// [`MessageRouter`]: crate::onion_message::messenger::MessageRouter -- 2.39.5