From b239583510aaafdc2c37e97521bd5ae4a8175aff Mon Sep 17 00:00:00 2001 From: Alon Hershenhorn Date: Fri, 10 Sep 2021 12:28:23 -0700 Subject: [PATCH] Fix typo in API documentation Fix small typo in ts_tree_cursor_current_field_id documentation. --- lib/include/tree_sitter/api.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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`.