Files
rust/library/alloc
Jonathan Brouwer 649f1574bc Rollup merge of #157138 - Omnikar:vec-clone-doc, r=joboet
Add doc comment to `Vec::clone`

I read about Clippy's [`repeat_vec_with_capacity`](https://rust-lang.github.io/rust-clippy/rust-1.96.0/index.html#repeat_vec_with_capacity) lint and figured it was worth adding a note about the relevant behavior to the documentation of `Vec::clone` itself, which previously did not have its own doc comment.
2026-06-04 12:06:51 +02:00
..