Merge pull request #1381 from hershen/typo

Fix typo in ts_tree_cursor_current_field_id documentation
This commit is contained in:
Max Brunsfeld 2021-09-10 13:10:10 -07:00 committed by GitHub
commit 4241f1453a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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`.