From: Valentine Wallace Date: Tue, 18 Oct 2022 17:14:35 +0000 (-0400) Subject: Fix accidental newline in OnionMessenger docs X-Git-Tag: v0.0.112~6^2~3 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=87b637c990e4c7aec7f62544f2d313e2d59db115;p=rust-lightning Fix accidental newline in OnionMessenger docs --- diff --git a/lightning/src/onion_message/messenger.rs b/lightning/src/onion_message/messenger.rs index da00a5760..9db374694 100644 --- a/lightning/src/onion_message/messenger.rs +++ b/lightning/src/onion_message/messenger.rs @@ -61,8 +61,7 @@ use prelude::*; /// # let node_secret = SecretKey::from_slice(&hex::decode("0101010101010101010101010101010101010101010101010101010101010101").unwrap()[..]).unwrap(); /// # let secp_ctx = Secp256k1::new(); /// # let hop_node_id1 = PublicKey::from_secret_key(&secp_ctx, &node_secret); -/// # let (hop_node_id2, hop_node_id3, hop_node_id4) = (hop_node_id1, hop_node_id1, -/// hop_node_id1); +/// # let (hop_node_id2, hop_node_id3, hop_node_id4) = (hop_node_id1, hop_node_id1, hop_node_id1); /// # let destination_node_id = hop_node_id1; /// # let your_custom_message_handler = IgnoringMessageHandler {}; /// // Create the onion messenger. This must use the same `keys_manager` as is passed to your