diff options
| author | Caleb Sander <caleb.sander@gmail.com> | 2022-07-30 16:20:25 -0700 |
|---|---|---|
| committer | Caleb Sander <caleb.sander@gmail.com> | 2024-05-05 10:29:57 -0700 |
| commit | c92c22826015168581f82e8b0f870a8cef9209b9 (patch) | |
| tree | 58bf0f26003aefef676b0b7002b250f1e1a61e51 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 7c4ac0603e9ee5295bc802c90575391288a69a8a (diff) | |
| download | rust-c92c22826015168581f82e8b0f870a8cef9209b9.tar.gz rust-c92c22826015168581f82e8b0f870a8cef9209b9.zip | |
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.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
