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

Adds UnicodePropertyMapV1 data struct for enumerated properties #1161

Merged
merged 9 commits into from
Oct 18, 2021

Conversation

iainireland
Copy link
Contributor

Here's my initial draft. Most of the interesting stuff is in utils/codepointtrie/src/provider.rs.

@Manishearth
Copy link
Member

#1162 should help with the custom derives.

@echeran echeran linked an issue Oct 11, 2021 that may be closed by this pull request
@echeran echeran mentioned this pull request Oct 11, 2021
3 tasks
@jira-pull-request-webhook
Copy link

Notice: the branch changed across the force-push!

  • Cargo.lock is different
  • utils/codepointtrie/src/codepointtrie.rs is different
  • utils/codepointtrie/src/provider.rs is different

View Diff Across Force-Push

~ Your Friendly Jira-GitHub PR Checker Bot

@iainireland iainireland marked this pull request as ready for review October 14, 2021 00:58
@iainireland iainireland requested a review from a team as a code owner October 14, 2021 00:58
echeran
echeran previously approved these changes Oct 18, 2021
}
}

// impl<'a, T: TrieValue> ZeroCopyFrom<CodePointTrie<'a, T>> for CodePointTrie<'static, T> {
Copy link
Contributor

Choose a reason for hiding this comment

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

question: Can this be removed?

I'm guessing from the commit that merged in changes from PR #1162 that this can be removed, just checking. If you want, I can remove this in my followup PR, just lmk.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oops, yeah, didn't mean to push this.

utils/codepointtrie/src/codepointtrie.rs Outdated Show resolved Hide resolved
utils/codepointtrie/src/provider.rs Show resolved Hide resolved
@iainireland iainireland requested a review from sffc October 18, 2021 21:13
@sffc sffc mentioned this pull request Oct 18, 2021
2 tasks
@sffc sffc changed the title Cpt provider struct Adds UnicodePropertyMapV1 data struct for enumerated properties Oct 18, 2021
@iainireland iainireland merged commit a430f66 into unicode-org:main Oct 18, 2021
@iainireland iainireland deleted the cpt-provider-struct branch October 18, 2021 21:43
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.

CodePointTrie data provider struct definition
4 participants