diff --git a/core/src/nodes/network.rs b/core/src/nodes/network.rs index 2f6634a1..c6c69a9d 100644 --- a/core/src/nodes/network.rs +++ b/core/src/nodes/network.rs @@ -1644,7 +1644,7 @@ where } /// Sends an event to the handler of the node. - pub fn send_event<'s: 'a>(&'s mut self, event: TInEvent) -> impl Future + 's + 'a { + pub fn send_event(&'a mut self, event: TInEvent) -> impl Future + 'a { let mut event = Some(event); futures::future::poll_fn(move |cx| { match self.poll_ready_event(cx) {