about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-05-19 02:13:06 +0000
committerbors <bors@rust-lang.org>2024-05-19 02:13:06 +0000
commitbfa3635df920454cdf03f6d268dfaac769375df3 (patch)
treefc8538014f461a0fb508c554738b513d734db18c /compiler/rustc_codegen_llvm/src/errors.rs
parent7690f29bdb6460ab525a8e8919420a4675a93386 (diff)
parentc92c22826015168581f82e8b0f870a8cef9209b9 (diff)
downloadrust-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