danielhenrymantilla / rust-uninit

Read trait fixed to soundly work with uninitalized memory
MIT License
25 stars 2 forks source link

Draft: unify `Out<[T]>` methods with `Sized` methods #10

Closed kupiakos closed 10 months ago

kupiakos commented 1 year ago

This unifies much of the Out<T: Sized> and Out<[T]> methods through a new trait, AsUninit.

Better tests, safety docs, and general doc/example adjustments will be needed before this is finalized.

danielhenrymantilla commented 1 year ago

Will take the time to properly review this in a few days, but at first glance I love the design 😍 thanks a lot for the PR! 👌

kupiakos commented 1 year ago

@danielhenrymantilla Any major things I should change before I clean this up?