mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-17 11:36:26 +00:00
Update the documentation of `Vec` to use `extend(array)` instead of `extend(array.iter().copied())` Another option is to use `extend_from_slice()` (that may be faster), but I find this approach cleaner.