aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/endpoint.rs2
1 files changed, 1 insertions, 1 deletions
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<M>: Send + Sync
where
M: Message,
{
- async fn handle(self: &Arc<Self>, m: &M, from: NodeID) -> <M as Message>::Response;
+ async fn handle(self: &Arc<Self>, m: &M, from: NodeID) -> M::Response;
}
#[async_trait]