danielhenrymantilla / rust-uninit

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

Flatten the API #21

Open kupiakos opened 10 months ago

kupiakos commented 10 months ago

Flat APIs are easier to understand and consume, so long as there aren't an overwhelming number of items. out_ref in particular is such a powerful abstraction that it deserves to be at the top.

This isn't the same as moving everything into the same module: it's only what is publicly exported.

danielhenrymantilla commented 9 months ago

💯