mirror of
https://github.com/c-cube/moonpool.git
synced 2025-12-05 19:00:33 -05:00
fix task local storage: type was too specific
This commit is contained in:
parent
fa40cf8825
commit
ea1af6ed22
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ let[@inline] set_in_local_hmap (k : 'a Hmap.key) (v : 'a) : unit =
|
|||
(** [with_in_local_hmap k v f] calls [f()] in a context
|
||||
where [k] is bound to [v] in the local hmap. Then it restores the
|
||||
previous binding for [k]. *)
|
||||
let with_in_local_hmap (k : 'a Hmap.key) (v : 'a) f : unit =
|
||||
let with_in_local_hmap (k : 'a Hmap.key) (v : 'a) f =
|
||||
let h = get_local_hmap () in
|
||||
match Hmap.find k h with
|
||||
| None ->
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue