Skip to content

Better Rust API#2917

Merged
soutaro merged 4 commits intomasterfrom
rust-api
Apr 3, 2026
Merged

Better Rust API#2917
soutaro merged 4 commits intomasterfrom
rust-api

Conversation

@soutaro
Copy link
Copy Markdown
Member

@soutaro soutaro commented Apr 3, 2026

Use str instead of [u8]. The Rust string must be UTF-8 encoding, but the parser already assumes the input is UTF-8.

Also adds some utility methods to RBSString and SymbolNode.

soutaro added 4 commits April 3, 2026 13:18
`&str` is more rust friendly. This change is fine because UTF-8 encoding is assumed in this function body.
@soutaro soutaro added the no-milestone This PR doesn't associate with a milestone. label Apr 3, 2026
@soutaro soutaro marked this pull request as ready for review April 3, 2026 07:44
@soutaro soutaro merged commit 93ecfd6 into master Apr 3, 2026
29 checks passed
@soutaro soutaro deleted the rust-api branch April 3, 2026 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-milestone This PR doesn't associate with a milestone.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant