diff options
| author | bors <bors@rust-lang.org> | 2021-12-14 04:29:54 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-12-14 04:29:54 +0000 |
| commit | 7ca74ea0afe87b2cb173ea1fea190853c3c3d860 (patch) | |
| tree | 0d6701ed0d157a9b1d717d47cbcca2e7e0779ed8 /compiler/rustc_query_impl/src | |
| parent | a2d25b4ff71b3d8ec49dc6a384e65e6a3ea33116 (diff) | |
| parent | 14f4ffae3224a7846c6bab33f9ca8593ec7416cf (diff) | |
| download | rust-7ca74ea0afe87b2cb173ea1fea190853c3c3d860.tar.gz rust-7ca74ea0afe87b2cb173ea1fea190853c3c3d860.zip | |
Auto merge of #91680 - saethlin:spare_capacity_mut-in-join, r=dtolnay
Use spare_capacity_mut instead of invalid unchecked indexing when joining str This is a fix for https://github.com/rust-lang/rust/issues/91574 I think in general I'd prefer to see this code implemented with raw pointers or `MaybeUninit::write_slice`, but there's existing code in here based on copying from slice to slice, so converting everything from `&[T]` to `&[MaybeUninit<T>]` is less disruptive.
Diffstat (limited to 'compiler/rustc_query_impl/src')
0 files changed, 0 insertions, 0 deletions
