Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core: Document that
transmute<&mut T, &mut MaybeUninit<T>>
is unsound
On my system the example program terminates with an unpredictable exit code. The undefined behavior is also detected by miri: error: Undefined Behavior: using uninitialized data
- Loading branch information