fix invalid docs for ts_tree_get_changed_ranges

This commit is contained in:
Björn Linse 2019-10-25 21:19:33 +02:00
parent 9b4b46ae11
commit 124ae30138
2 changed files with 2 additions and 2 deletions

View file

@ -89,7 +89,7 @@ TSRange *ts_tree_get_changed_ranges(const TSTree *self, const TSTree *other, uin
TreeCursor cursor2 = {NULL, array_new()};
TSNode root = ts_tree_root_node(self);
ts_tree_cursor_init(&cursor1, root);
ts_tree_cursor_init(&cursor2, root);
ts_tree_cursor_init(&cursor2, root); // really other's root, but reinitialized later
TSRangeArray included_range_differences = array_new();
ts_range_array_get_changed_ranges(