From 1333d5b8d9c47ac6eb58f86296bc81f90013ca9a Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Mon, 6 Jan 2020 17:13:39 +0100 Subject: [PATCH] Another review fix for stable-futures branch --- core/src/nodes/network.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {