"out" function arguments?

A few discussions on out/uninit references that are arguably still active:

My impression is also that out/uninit references are lacking compelling motivation. In particular, &mut MaybeUninit<T> seems to cover a lot of the same use cases.

The discussion on that RFC I linked above left me with a vague impression that &out/&uninit don't have any advantages over &mut MaybeUninit<T> after all, but I'm not entirely sure I understood it so cc @cramertj and @RustyYato

2 Likes