aboutsummaryrefslogtreecommitdiff
path: root/src/endpoint.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-09-13 11:51:03 +0200
committerAlex Auvolat <alex@adnab.me>2022-09-13 11:51:03 +0200
commitbf0e82047f0a54d71ce048ed8f5e1584485b542c (patch)
treeb7b156f76ed809cb541915ff2a92b1c9a2efe961 /src/endpoint.rs
parent2305c2cf03919f074ec92d98cb6593c4ead50c4b (diff)
downloadnetapp-bf0e82047f0a54d71ce048ed8f5e1584485b542c.tar.gz
netapp-bf0e82047f0a54d71ce048ed8f5e1584485b542c.zip
try make more like before
Diffstat (limited to 'src/endpoint.rs')
-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]