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

Add impl for Type, Decode, and Encode for Box<str> and Box<[u8]> #2712

Merged
merged 1 commit into from
Sep 12, 2023

Conversation

grant0417
Copy link
Contributor

@grant0417 grant0417 commented Aug 25, 2023

This added impls for Type, Decode, and Encode for Box<str> and Box<[u8]>.

Rational is these types are slightly smaller than String and Vec<u8> if you do not need the ability to grow the capacity of the types.

@grant0417 grant0417 marked this pull request as ready for review August 25, 2023 02:14
@abonander abonander merged commit c0d4019 into launchbadge:main Sep 12, 2023
57 of 58 checks passed
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