Skip to content

Commit 18ca922

Browse files
committed
lightning: allow !Unpin futures in OnionMessenger process events
1 parent 2cbfa07 commit 18ca922

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/onion_message/messenger.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1576,7 +1576,7 @@ where
15761576
///
15771577
/// See the trait-level documentation of [`EventsProvider`] for requirements.
15781578
pub async fn process_pending_events_async<
1579-
Future: core::future::Future<Output = Result<(), ReplayEvent>> + core::marker::Unpin,
1579+
Future: core::future::Future<Output = Result<(), ReplayEvent>>,
15801580
H: Fn(Event) -> Future,
15811581
>(
15821582
&self, handler: H,

0 commit comments

Comments
 (0)