doc: fix typo in API doc