danielhenrymantilla / rust-uninit

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

Add `Out::<[T]>::empty` #22

Closed kupiakos closed 10 months ago

kupiakos commented 10 months ago

For constructing an empty Out<[T]>. This is equivalent to Out::from(&mut [][..]) - and can work in const.