From 06358ba8b2d9366c3e46699a1f257efa1e5d2a04 Mon Sep 17 00:00:00 2001 From: Glenn Slotte Date: Wed, 23 Mar 2022 10:50:24 +0100 Subject: [PATCH] docs: fix CCOption.map_or doc comment --- 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