From 5a209bf8c05ee11733ba986175857a28224dbde7 Mon Sep 17 00:00:00 2001 From: Daniel Sanchez Quiros Date: Tue, 13 Dec 2022 16:49:52 +0100 Subject: [PATCH] Remove not necessary bounds --- overwatch-rs/src/services/relay.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overwatch-rs/src/services/relay.rs b/overwatch-rs/src/services/relay.rs index 633dbf9..7bbe97a 100644 --- a/overwatch-rs/src/services/relay.rs +++ b/overwatch-rs/src/services/relay.rs @@ -135,7 +135,7 @@ impl OutboundRelay { .map_err(|e| (RelayError::Send, e.0)) } - pub fn into_sink(self) -> impl Sink + Send + 'static { + pub fn into_sink(self) -> impl Sink { PollSender::new(self.sender) } }