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

Put FontFace constructor to Immutable slice whitelist #3072

Merged
merged 2 commits into from Sep 6, 2022

Conversation

namse
Copy link
Contributor

@namse namse commented Sep 6, 2022

FontFace's constructor new_with_u8_array takes mutable slice which could be immutable slice. So I added it to whitelist.

It's my first time so I followed ImageData case.

@alexcrichton alexcrichton merged commit edc5adf into rustwasm:main Sep 6, 2022
@namse namse deleted the patch-1 branch September 6, 2022 15:51
@namse
Copy link
Contributor Author

namse commented Sep 6, 2022

Hurray! A small contribution to the great footsteps.

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.

None yet

2 participants