Skip to content

Commit 7ee7ea1

Browse files
committed
Add MaybeUninit type
The standard library's `MaybeUninit` type does not currently support wrapping unsized types. This commit introduces a polyfill with the same behavior as `MaybeUninit` which does support wrapping unsized types. In this commit, the only supported types are sized types and slice types. Later (as part of #29), we will add the ability to derive the `AsMaybeUninit` trait, which will extend support to custom DSTs. Makes progress on #29
1 parent 62f76d2 commit 7ee7ea1

File tree

2 files changed

+369
-13
lines changed

2 files changed

+369
-13
lines changed

0 commit comments

Comments
 (0)