Drop unenforced bound in trait alias
[rust-lightning] / lightning / src / onion_message / messenger.rs
index e18431caa8d0e5c1e2ce90088ef8da5391b09f6c..a8ffcc02466f5afa918bf299e7a41572d24b72fc 100644 (file)
@@ -264,7 +264,7 @@ pub struct PendingOnionMessage<T: OnionMessageContents> {
 ///
 /// These are obtained when released from [`OnionMessenger`]'s handlers after which they are
 /// enqueued for sending.
-pub type PendingOnionMessage<T: OnionMessageContents> = (T, Destination, Option<BlindedPath>);
+pub type PendingOnionMessage<T> = (T, Destination, Option<BlindedPath>);
 
 pub(crate) fn new_pending_onion_message<T: OnionMessageContents>(
        contents: T, destination: Destination, reply_path: Option<BlindedPath>