mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-08 12:15:32 -05:00
CCArray: use raise_notrace instead of raise
This commit is contained in:
parent
c50672ff7a
commit
4267210da9
1 changed files with 1 additions and 1 deletions
|
|
@ -201,7 +201,7 @@ exception Found
|
||||||
|
|
||||||
let mem ?(eq = Stdlib.(=)) elt a =
|
let mem ?(eq = Stdlib.(=)) elt a =
|
||||||
try
|
try
|
||||||
Array.iter (fun e -> if eq e elt then raise Found) a;
|
Array.iter (fun e -> if eq e elt then raise_notrace Found) a;
|
||||||
false
|
false
|
||||||
with Found -> true
|
with Found -> true
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue