forked from Proxmox/proxmox
router: no need to use Fn (fn also works for static closures)
This commit is contained in:
parent
1716112285
commit
dd4b1a797b
@ -181,7 +181,7 @@ fn handle_sync_api_request(
|
||||
tokio::spawn(task);
|
||||
*/
|
||||
|
||||
let res = (*info.handler)(params, info)?;
|
||||
let res = (info.handler)(params, info)?;
|
||||
|
||||
Ok(res)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user