rename mod
This commit is contained in:
@@ -411,10 +411,7 @@ struct PoolDispatcher<'a> {
|
||||
}
|
||||
|
||||
impl<'a> PoolDispatcher<'a> {
|
||||
fn on<'b, R>(
|
||||
&'b mut self,
|
||||
f: fn(ServerWorld, R::Params) -> Result<R::Result>,
|
||||
) -> Result<&'b mut Self>
|
||||
fn on<R>(&mut self, f: fn(ServerWorld, R::Params) -> Result<R::Result>) -> Result<&mut Self>
|
||||
where
|
||||
R: req::Request,
|
||||
R::Params: DeserializeOwned + Send + 'static,
|
||||
|
||||
Reference in New Issue
Block a user