try make more like before

This commit is contained in:
Alex 2022-09-13 11:51:03 +02:00
parent 2305c2cf03
commit bf0e82047f
Signed by untrusted user: lx
GPG key ID: 0E496D15096376BE

View file

@ -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]