Fix accidental newline in OnionMessenger docs
authorValentine Wallace <vwallace@protonmail.com>
Tue, 18 Oct 2022 17:14:35 +0000 (13:14 -0400)
committerValentine Wallace <vwallace@protonmail.com>
Tue, 18 Oct 2022 17:14:35 +0000 (13:14 -0400)
lightning/src/onion_message/messenger.rs

index da00a5760f59d890f865174e6a474f4f3d3b5906..9db374694366e936ceb9301a076b4939ad40048f 100644 (file)
@@ -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