Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TextDecoder.decode to IMMUTABLE_SLICE_WHITELIST #4141

Merged
merged 4 commits into from
Oct 7, 2024

Conversation

bdbai
Copy link
Contributor

@bdbai bdbai commented Oct 4, 2024

According to Encoding Standard, the input buffer is not supposed to be modified by implementations, hence the input slice do not need to be mutable.

Copy link
Collaborator

@daxpedda daxpedda left a comment

Choose a reason for hiding this comment

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

Thank you!

@daxpedda daxpedda merged commit 7b4bb18 into rustwasm:main Oct 7, 2024
37 of 38 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.

2 participants