diff options
| author | Jacob Pratt <jacob@jhpratt.dev> | 2024-12-26 21:56:48 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-26 21:56:48 -0500 |
| commit | b618af13cf14171843ec6f62691c5534f44667af (patch) | |
| tree | 53645915860461d770daeb5f7404df35d05c901c /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | b919afa70fe4a77bfdb548a7a54d08803de26842 (diff) | |
| parent | 00c5289c649394d544b6189e2bcdbcc7ceff49f1 (diff) | |
| download | rust-b618af13cf14171843ec6f62691c5534f44667af.tar.gz rust-b618af13cf14171843ec6f62691c5534f44667af.zip | |
Rollup merge of #134379 - bjoernager:slice-as-array, r=dtolnay
Add `into_array` conversion destructors for `Box`, `Rc`, and `Arc`. Tracking issue: #133508 This PR adds the `into_array` destructor for `alloc::boxed::Box<[T]>`, `alloc::rc::Rc<[T]>`, and `alloc::sync::Arc<[T]>`. Note that this PR assumes the initial proposal of these functions returning `Option`. It is still an open question whether this should instead be `Result`. We can, however, easily change this in a follow-up PR with the necessary consensus.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
