Skip to content

fix(lib): correct ts_parser_parse docstring#5295

Merged
WillLillis merged 2 commits intotree-sitter:masterfrom
bertie-wheen:master
Feb 4, 2026
Merged

fix(lib): correct ts_parser_parse docstring#5295
WillLillis merged 2 commits intotree-sitter:masterfrom
bertie-wheen:master

Conversation

@bertie-wheen
Copy link
Contributor

The ts_parser_parse docstring had become inconsistent, stating the existence of four possible failure types but then listing only two.

The other two (that made four) were removed as part of 821cf79, but this part of the edit was missed.

@WillLillis
Copy link
Member

Thanks for catching this! Could you run cargo xtask generate-bindings so the corresponding comment in the lib/binding_rust/bindings.rs is also updated? If you don't have cargo installed, you could also git apply the diff from the failing Check Bindgen Output failing workflow.

@bertie-wheen
Copy link
Contributor Author

Sorry - yep. Have now done so!

Copy link
Member

@WillLillis WillLillis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@WillLillis WillLillis merged commit 39f407e into tree-sitter:master Feb 4, 2026
14 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants