From befde89fae19e6e3ee8ff380530367a9feac814d Mon Sep 17 00:00:00 2001 From: Elias Rohrer Date: Sat, 16 Dec 2023 14:15:21 +0100 Subject: [PATCH] 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 ``` --- lightning/src/onion_message/messenger.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5