Skip to content

Commit bfae450

Browse files
authored
Remove shadowed search function from StringUtil (#1750)
2 parents 6cf5780 + 51799ea commit bfae450

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/util/StringUtil.re

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ type regexp = Js_of_ocaml.Regexp.regexp;
2929

3030
let regexp: string => regexp = Js_of_ocaml.Regexp.regexp;
3131

32-
let search = Js_of_ocaml.Regexp.search;
33-
3432
let match = (r: regexp, s: string): bool =>
3533
Js_of_ocaml.Regexp.string_match(r, s, 0) |> Option.is_some;
3634

0 commit comments

Comments
 (0)