summaryrefslogtreecommitdiff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2023-01-08 19:57:54 -0800
committerGitHub <noreply@github.com>2023-01-08 19:57:54 -0800
commit70f1566b2bbdf92dffb40fa122986a58b2c4ee86 (patch)
tree267e1c3f0a0762ac6b498a051c7890b0758119db /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parenteefc44b7e2e6657c7f0f214a0707aec83442c5c8 (diff)
parent288e89bf76856653b69c8db77003ab190e86272b (diff)
downloadrust-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