mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 09:53:04 +03:00
c62aa0baa1
It reinterprets uninitialized memory as initialized and does not drop existing elements of the Vec. Fix that. Additionally, make it more general by appending, instead of overwriting existing elements, and rename it to `append_to_enclave_vec`. A caller can simply call `.clear()` before, for the old behavior.