Commit 649f157
authored
Rollup merge of rust-lang#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.1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3810 | 3810 | | |
3811 | 3811 | | |
3812 | 3812 | | |
| 3813 | + | |
| 3814 | + | |
| 3815 | + | |
| 3816 | + | |
| 3817 | + | |
3813 | 3818 | | |
3814 | 3819 | | |
3815 | 3820 | | |
| |||
0 commit comments