Skip to content

Commit 52b92bf

Browse files
polytypiclyrm
andcommitted
Fix the documentation of Fiber.FLS.create
Co-authored-by: Carine Morel <[email protected]>
1 parent f79755a commit 52b92bf

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

lib/picos/picos.mli

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -996,11 +996,8 @@ module Fiber : sig
996996
with fibers. *)
997997

998998
val create : unit -> 'a t
999-
(** [new_key initial] allocates a new key for associating values in storage
1000-
associated with fibers. The [initial] value for every fiber is either
1001-
the given {!Constant} or is {!Computed} with the given function. If the
1002-
initial value is a constant, no value needs to be stored unless the
1003-
value is explicitly updated.
999+
(** [create ()] allocates a new key for associating values in storage
1000+
associated with fibers.
10041001
10051002
⚠️ New keys should not be created dynamically. *)
10061003

0 commit comments

Comments
 (0)