mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-04 19:28:29 +00:00

thin_vec.as_ptr() goes through the Deref impl of ThinVec, which will not allow access to any memory as we did call set_len(0) first.
thin_vec.as_ptr() goes through the Deref impl of ThinVec, which will not allow access to any memory as we did call set_len(0) first.