diff options
author | Michael Goulet <michael@errs.io> | 2023-01-08 19:57:54 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-08 19:57:54 -0800 |
commit | 70f1566b2bbdf92dffb40fa122986a58b2c4ee86 (patch) | |
tree | 267e1c3f0a0762ac6b498a051c7890b0758119db /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
parent | eefc44b7e2e6657c7f0f214a0707aec83442c5c8 (diff) | |
parent | 288e89bf76856653b69c8db77003ab190e86272b (diff) | |
download | rust-70f1566b2bbdf92dffb40fa122986a58b2c4ee86.tar.gz |
Rollup merge of #106584 - kpreid:vec-allocator, r=JohnTitor
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.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions