From: Elias Rohrer Date: Fri, 19 Jul 2024 09:21:17 +0000 (+0200) Subject: Correct `ConnectionNeeded` docs X-Git-Tag: v0.0.124-rc1~16^2 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=53a616b46e5b99149886f5e65cead030000e29d6;p=rust-lightning Correct `ConnectionNeeded` docs --- 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