ocaml-community / sedlex

An OCaml lexer generator for Unicode
MIT License
235 stars 43 forks source link

Fix typo in documentation for `lexeme_length` #79

Closed MattWindsor91 closed 5 years ago

MattWindsor91 commented 5 years ago

The ocamldoc attached to Sedlexing.lexeme_length starts with a reference to Sedlexing.loc, the function above it. This looks like a straight copy-and-paste typo; this proposed commit directly replaces it with lexeme_length (but doesn't do any further adjusting).

pmetzger commented 5 years ago

This was too obviously correct not to merge. Thanks for the fix, @MattWindsor91!