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

Use zeroslice! macros in ICU4X #3455

Merged
merged 11 commits into from
Jun 2, 2023

Conversation

skius
Copy link
Member

@skius skius commented May 25, 2023

Depends on #3453, part of #1935

This PR tries to use the zeroslice!/zerovec! macros where possible in ICU4X. It also switches from user-provided array conversion functions to single-element conversion functions.

@skius skius mentioned this pull request May 25, 2023
@skius
Copy link
Member Author

skius commented May 25, 2023

We can use core::convert::identity for ZeroSlice<u8>. However, I'm not sure if it's worth using the macro there if such a workaround is required.

@dpulls
Copy link

dpulls bot commented May 26, 2023

🎉 All dependencies have been resolved !

@skius
Copy link
Member Author

skius commented May 26, 2023

Depends on #3454 - specifically the decision made therein

@skius skius marked this pull request as ready for review June 2, 2023 09:50
@skius skius requested a review from robertbastian June 2, 2023 09:51
@robertbastian robertbastian merged commit 46fcbe6 into unicode-org:main Jun 2, 2023
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