From bf0e82047f0a54d71ce048ed8f5e1584485b542c Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 13 Sep 2022 11:51:03 +0200 Subject: try make more like before --- src/endpoint.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/endpoint.rs b/src/endpoint.rs index bb768de..015000b 100644 --- a/src/endpoint.rs +++ b/src/endpoint.rs @@ -43,7 +43,7 @@ pub trait EndpointHandler: Send + Sync where M: Message, { - async fn handle(self: &Arc, m: &M, from: NodeID) -> ::Response; + async fn handle(self: &Arc, m: &M, from: NodeID) -> M::Response; } #[async_trait] -- cgit v1.2.3