From 7f4c87cfb98bcb862ca8e45b0294e0e6a266eb21 Mon Sep 17 00:00:00 2001 From: Glenn Slotte Date: Wed, 23 Mar 2022 14:02:53 +0100 Subject: [PATCH] docs: fix CCOption.map_or doc comment (#407) --- src/core/CCOption.mli | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/CCOption.mli b/src/core/CCOption.mli index 0c46ddbf..bc43c4c6 100644 --- a/src/core/CCOption.mli +++ b/src/core/CCOption.mli @@ -15,7 +15,7 @@ val map_or : default:'b -> ('a -> 'b) -> 'a t -> 'b @since 0.16 *) val map_lazy : (unit -> 'b) -> ('a -> 'b) -> 'a t -> 'b -(** [map_lazy default_fn f o] if [f o] if [o = Some x], [default_fn ()] otherwise. +(** [map_lazy default_fn f o] is [f x] if [o = Some x], [default_fn ()] otherwise. @since 1.2 *) val is_some : _ t -> bool