-
Notifications
You must be signed in to change notification settings - Fork 182
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
Replace PluralElementsV1 with PluralElementsPackedULE #5510
Merged
Merged
Changes from 31 commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
1f151e0
Add TinyVarVar
sffc 79582ad
Fix typo bug on main
sffc 0f7223b
Add PluralElementsPackedULE and use it in relativetime
sffc 1ccd8e0
Make PluralElementsPackedULE not depend on TinyVarVarULE
sffc 0be2b08
Revert "Add TinyVarVar"
sffc dae6881
Clippy: create more intermediate types
sffc 121339f
More refactoring
sffc e2d3fdd
features
sffc 0dfe79c
clippy
sffc 38c778b
cargo make testdata
sffc 9f21225
cargo make bakeddata experimental
sffc 6712c93
Fix baked safety comment
sffc e8faf2f
cargo make bakeddata experimental
sffc 922b1a7
Clean up PluralCategoryAndMetadata
sffc 0570498
More safety comments
sffc 5ec4aac
fmt
sffc 964562d
Try to write deserialize_with fn
sffc 3a99f60
feature gate
Manishearth 7e6cb9d
superfluous bound
Manishearth 6e429a1
lol this works?????
Manishearth 7043da7
link to rustc bug
Manishearth fdd273e
deserialize_with in relativetime
sffc fa70e60
Review feedback
sffc 9b30c63
rm PluralElementsV1; replace in currency formatter
sffc 38f6676
cargo make testdata
sffc ba45af4
cargo make bakeddata experimental
sffc effaef0
get_specials_tuples
sffc 687cf68
add PluralElementsPackedCowStr
sffc 5a3101f
Revert all changes in the experimental crate
sffc c33063c
Small changes to experimental crate call sites
sffc 594863b
cargo make bakeddata experimental
sffc 1b055db
doc, fmt, missing_apis
sffc 7714c3b
Don't expose serde impl on `PluralElements`
sffc e858f66
rm PluralElementsField
sffc 382c846
Move struct definitions closer together
sffc f8c10e5
clippy
sffc 9670ab8
Make PluralElementsPackedCow generic
sffc 3b307df
cargo make bakeddata experimental
sffc 55c6d25
Make the fn private now that PluralElementsPackedCow is generic
sffc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not a fan of calling this
PackedCowStr
. I thinkPluralElementsV1
was fine as it's our first iteration ofPluralElements
. The user here really doesn't need to care about encoding details.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't typically call things
V1
unless they are actually data structs. I let it land with this name initially because it's unstable, but I consider it an improvement to call the type by what it actually is.