The phrase "allow to" (and its variant "allows to") appears in several locations in OCaml sources, in particular in ocamldoc manpage, and some comments that end up in ocamldoc-generated documentation.

The blind fix is to replace with "allow one to", but replacing with "allow ${verb in -ing form}" might be more appropriate in some circumstances. In case of doubt, ask a native English speaker for their opinion.