rust/library/alloc
Matthias Krüger 9dd3b2358e
Rollup merge of #150597 - antonilol:extend-from-vec-any-allocator, r=jhpratt
make specialization of `Vec::extend` and `VecDeque::extend_front` work for vec::IntoIter with any `Allocator`, not just `Global`

These functions consume all the elements from the respective collection, but do not care about the `Allocator` they use. Without specifying one (like in `vec::IntoIter<T>`) the specialization is only chosen when `A=Global`.

(extra context: `VecDeque::extend_front` is unstable and tracked by rust-lang/rust#146975)
2026-01-04 16:16:10 +01:00
..
src Rollup merge of #150597 - antonilol:extend-from-vec-any-allocator, r=jhpratt 2026-01-04 16:16:10 +01:00
Cargo.toml Add panic=immediate-abort 2025-09-21 13:12:18 -04:00