Fix typo in API documentation

Fix small typo in ts_tree_cursor_current_field_id documentation.
This commit is contained in:
Alon Hershenhorn 2021-09-10 12:28:23 -07:00
parent 4fa5ab8a52
commit b239583510

View file

@ -619,7 +619,7 @@ TSNode ts_tree_cursor_current_node(const TSTreeCursor *);
const char *ts_tree_cursor_current_field_name(const TSTreeCursor *);
/**
* Get the field name of the tree cursor's current node.
* Get the field id of the tree cursor's current node.
*
* This returns zero if the current node doesn't have a field.
* See also `ts_node_child_by_field_id`, `ts_language_field_id_for_name`.