mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 14:52:56 +03:00
70f1566b2b
Document that `Vec::from_raw_parts[_in]` must be given a pointer from the correct allocator. Currently, the documentation of `Vec::from_raw_parts` and `Vec::from_raw_parts_in` says nothing about what allocator the pointer must come from. This PR adds that missing information explicitly.