mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-23 02:27:39 +03:00
9111b8ae97
Add `TrustedRandomAccess` specialization for `Vec::extend()` This should do roughly the same as the `TrustedLen` specialization but result in less IR by using `__iterator_get_unchecked` instead of `Iterator::for_each` Conflicting specializations are manually prioritized by grouping them under yet another helper trait.