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

Drop T: Default bound for array implementations #50

Open
roypat opened this issue Feb 17, 2023 · 0 comments
Open

Drop T: Default bound for array implementations #50

roypat opened this issue Feb 17, 2023 · 0 comments

Comments

@roypat
Copy link
Contributor

roypat commented Feb 17, 2023

Moved from firecracker-microvm/firecracker#1728, also touched on in #47 (comment)

Currently, Versionize implementation for [T; N] require T: Default because we need to initialize the array somehow. We should track if at some point, Rust's MaybeUninit APIs mature enough to support dropping this bound.

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

No branches or pull requests

1 participant