From ef0dfe0d70ba04ef9a72070ca4f834f84750c1db Mon Sep 17 00:00:00 2001 From: Josh Berdine Date: Thu, 16 Apr 2020 03:36:50 -0700 Subject: [PATCH] [sledge] Fix doc of List.remove_exn Reviewed By: jvillard Differential Revision: D20863527 fbshipit-source-id: 807eb0e51 --- sledge/lib/import/list.mli | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sledge/lib/import/list.mli b/sledge/lib/import/list.mli index 6aa839ba3..c125b4428 100644 --- a/sledge/lib/import/list.mli +++ b/sledge/lib/import/list.mli @@ -46,7 +46,7 @@ val rev_map_unzip : 'a t -> f:('a -> 'b * 'c) -> 'b list * 'c list val remove_exn : ?equal:('a -> 'a -> bool) -> 'a list -> 'a -> 'a list (** Returns the input list without the first element [equal] to the - argument, or raise [Not_found] if no such element exists. [equal] + argument, or raise [Not_found_s] if no such element exists. [equal] defaults to physical equality. *) val remove : ?equal:('a -> 'a -> bool) -> 'a list -> 'a -> 'a list option