From: Elias Rohrer Date: Sat, 16 Dec 2023 13:15:21 +0000 (+0100) Subject: Drop unenforced bound in trait alias X-Git-Tag: v0.0.120~20^2~3 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=befde89fae19e6e3ee8ff380530367a9feac814d;p=rust-lightning Drop unenforced bound in trait alias ... to fix: ``` error: bounds on generic parameters are not enforced in type aliases --> lightning/src/onion_message/messenger.rs:267:33 ``` --- diff --git a/lightning/src/onion_message/messenger.rs b/lightning/src/onion_message/messenger.rs index e18431caa..a8ffcc024 100644 --- a/lightning/src/onion_message/messenger.rs +++ b/lightning/src/onion_message/messenger.rs @@ -264,7 +264,7 @@ pub struct PendingOnionMessage { /// /// These are obtained when released from [`OnionMessenger`]'s handlers after which they are /// enqueued for sending. -pub type PendingOnionMessage = (T, Destination, Option); +pub type PendingOnionMessage = (T, Destination, Option); pub(crate) fn new_pending_onion_message( contents: T, destination: Destination, reply_path: Option