simpler update

This commit is contained in:
Aleksey Kladov 2018-08-21 22:24:59 +03:00
parent b937262c9b
commit ecc9df5f00
4 changed files with 149 additions and 73 deletions

View file

@ -252,7 +252,7 @@ fn on_notification(
fn handle_request_on_threadpool<R: req::ClientRequest>(
req: &mut Option<RawRequest>,
pool: &ThreadPool,
world: &mut ServerWorldState,
world: &ServerWorldState,
sender: &Sender<Task>,
f: fn(ServerWorld, R::Params) -> Result<R::Result>,
) -> Result<()>