diff options
author | Alex Auvolat <alex@adnab.me> | 2022-09-13 11:51:03 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-09-13 11:51:03 +0200 |
commit | bf0e82047f0a54d71ce048ed8f5e1584485b542c (patch) | |
tree | b7b156f76ed809cb541915ff2a92b1c9a2efe961 /src/endpoint.rs | |
parent | 2305c2cf03919f074ec92d98cb6593c4ead50c4b (diff) | |
download | netapp-bf0e82047f0a54d71ce048ed8f5e1584485b542c.tar.gz netapp-bf0e82047f0a54d71ce048ed8f5e1584485b542c.zip |
try make more like before
Diffstat (limited to 'src/endpoint.rs')
-rw-r--r-- | src/endpoint.rs | 2 |
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] |