diff --git a/lib/include/tree_sitter/api.h b/lib/include/tree_sitter/api.h index e4d49a58..ede1bc99 100644 --- a/lib/include/tree_sitter/api.h +++ b/lib/include/tree_sitter/api.h @@ -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`.