mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 11:15:31 -05:00
try to fix compat issue
This commit is contained in:
parent
acadb6b9d3
commit
c50ee3d928
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ let prefix ~pre s =
|
||||||
else (
|
else (
|
||||||
let rec check i =
|
let rec check i =
|
||||||
if i=len then true
|
if i=len then true
|
||||||
else if Stdlib.(<>) (String.unsafe_get s i) (String.unsafe_get pre i) then false
|
else if (String.unsafe_get s i) <> (String.unsafe_get pre i) then false
|
||||||
else check (i+1)
|
else check (i+1)
|
||||||
in
|
in
|
||||||
check 0
|
check 0
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue