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

Remove IntegerOrFloat #226

Merged
merged 3 commits into from
Dec 29, 2021
Merged

Remove IntegerOrFloat #226

merged 3 commits into from
Dec 29, 2021

Conversation

cmyr
Copy link
Member

@cmyr cmyr commented Dec 29, 2021

This removes the IntegerOrFloat type. My sense is that this type is really an implementation detail around how certain values should be serialized; so with this we handle fields of this type by using serde's serialize_with annotation.

This keeps NonNegativeIntegerOrFloat, but moves it into the fontinfo module.

@github-actions
Copy link

🗜 Bloat check ⚖️

Comparing 9442957 against d4af02b

target old size new size difference
target/release/examples/load_save 1.9 MB 1.88 MB -16.34 KB (-0.84%)
target/debug/examples/load_save 8.56 MB 8.56 MB 3.55 KB (0.04%)

@cmyr cmyr merged commit 16ada43 into master Dec 29, 2021
@cmyr cmyr deleted the no-integer-or-float branch December 29, 2021 22:02
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