diff options
author | Michael Goulet <michael@errs.io> | 2022-12-27 12:33:37 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-27 12:33:37 -0800 |
commit | 79730d6e32b7e4fb5f6774eccac4d3a6debdd1b7 (patch) | |
tree | ef899b40872021837636030fa34f7008a66fc5fb /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
parent | 4de5547aa02d67ff7c2b723a21fd69b17e01ed6d (diff) | |
parent | 4df5459dd1d65cf15cd9fb8514d11ffbec611d2b (diff) | |
download | rust-79730d6e32b7e4fb5f6774eccac4d3a6debdd1b7.tar.gz |
Rollup merge of #106187 - ChayimFriedman2:patch-4, r=compiler-errors
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.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions