diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-10-03 20:58:53 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-03 20:58:53 +0200 |
| commit | 2110d2de5a894f3088e1d8f20404876e2ef4b65e (patch) | |
| tree | 96bfb8c59eb7c00a833334fcaeadc439962b8e0c /compiler/rustc_llvm/llvm-wrapper/Linker.cpp | |
| parent | 098e8b73570e2fc3405f66163ece1858193cd38a (diff) | |
| parent | a85ee3ed9130de6b263de0b05e67b04e644f269e (diff) | |
| download | rust-2110d2de5a894f3088e1d8f20404876e2ef4b65e.tar.gz rust-2110d2de5a894f3088e1d8f20404876e2ef4b65e.zip | |
Rollup merge of #99216 - duarten:master, r=joshtriplett
docs: be less harsh in wording for Vec::from_raw_parts In particular, be clear that it is sound to specify memory not originating from a previous `Vec` allocation. That is already suggested in other parts of the documentation about zero-alloc conversions to Box<[T]>. Incorporate a constraint from `slice::from_raw_parts` that was missing but needs to be fulfilled, since a `Vec` can be converted into a slice. Fixes https://github.com/rust-lang/rust/issues/98780.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/Linker.cpp')
0 files changed, 0 insertions, 0 deletions
