diff options
| author | bors <bors@rust-lang.org> | 2024-05-19 02:13:06 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-05-19 02:13:06 +0000 |
| commit | bfa3635df920454cdf03f6d268dfaac769375df3 (patch) | |
| tree | fc8538014f461a0fb508c554738b513d734db18c /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 7690f29bdb6460ab525a8e8919420a4675a93386 (diff) | |
| parent | c92c22826015168581f82e8b0f870a8cef9209b9 (diff) | |
| download | rust-bfa3635df920454cdf03f6d268dfaac769375df3.tar.gz rust-bfa3635df920454cdf03f6d268dfaac769375df3.zip | |
Auto merge of #99969 - calebsander:feature/collect-box-str, r=dtolnay
alloc: implement FromIterator for Box<str> `Box<[T]>` implements `FromIterator<T>` using `Vec<T>` + `into_boxed_slice()`. Add analogous `FromIterator` implementations for `Box<str>` matching the current implementations for `String`. Remove the `Global` allocator requirement for `FromIterator<Box<str>>` too. ACP: https://github.com/rust-lang/libs-team/issues/196
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
