mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-17 05:25:37 +03:00
c36edc7261
Vec::from_iter's general case allocates the vector up front; this is redundant for the TrustedLen case, and can then be avoided to reduce the size of the code.