fix some @since tags

This commit is contained in:
Simon Cruanes 2024-02-09 10:05:55 -05:00
parent e56dbc6a09
commit 381a775d28
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4
2 changed files with 4 additions and 4 deletions

View file

@ -165,12 +165,12 @@ module Advanced : sig
{b NOTE}: the behavior is not specified if [iter f cont] (for a function f) {b NOTE}: the behavior is not specified if [iter f cont] (for a function f)
doesn't call [f] on exactly [len cont] elements. doesn't call [f] on exactly [len cont] elements.
@since NEXT_RELEASE *) @since 0.5.1 *)
end end
val map_list : f:('a -> 'b t) -> 'a list -> 'b list t val map_list : f:('a -> 'b t) -> 'a list -> 'b list t
(** [map_list ~f l] is like [join_list @@ List.map f l]. (** [map_list ~f l] is like [join_list @@ List.map f l].
@since NEXT_RELEASE *) @since 0.5.1 *)
val wait_array : _ t array -> unit t val wait_array : _ t array -> unit t
(** [wait_array arr] waits for all futures in [arr] to resolve. It discards (** [wait_array arr] waits for all futures in [arr] to resolve. It discards

View file

@ -42,12 +42,12 @@ val spawn : ?name:string -> on:Runner.t -> (unit -> 'a) -> 'a Fut.t
(** [spawn ~on f] runs [f()] on the runner (a thread pool typically) (** [spawn ~on f] runs [f()] on the runner (a thread pool typically)
and returns a future result for it. See {!Fut.spawn}. and returns a future result for it. See {!Fut.spawn}.
@param name if provided and [Trace] is present in dependencies, @param name if provided and [Trace] is present in dependencies,
a span will be created for the future. (since NEXT_RELEASE) a span will be created for the future. (since 0.6)
@since 0.5 *) @since 0.5 *)
val spawn_on_current_runner : ?name:string -> (unit -> 'a) -> 'a Fut.t val spawn_on_current_runner : ?name:string -> (unit -> 'a) -> 'a Fut.t
(** See {!Fut.spawn_on_current_runner}. (** See {!Fut.spawn_on_current_runner}.
@param name see {!spawn}. since NEXT_RELEASE. @param name see {!spawn}. since 0.6.
@since 0.5 *) @since 0.5 *)
[@@@ifge 5.0] [@@@ifge 5.0]