versionize icon indicating copy to clipboard operation
versionize copied to clipboard

Drop `T: Default` bound for array implementations

Open roypat opened this issue 2 years ago • 0 comments

Moved from https://github.com/firecracker-microvm/firecracker/issues/1728, also touched on in https://github.com/firecracker-microvm/versionize/pull/47#issuecomment-1342930041

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.

roypat avatar Feb 17 '23 16:02 roypat