diff options
| author | bors <bors@rust-lang.org> | 2023-10-30 17:25:55 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-10-30 17:25:55 +0000 |
| commit | cdc4d56ae7707753e24b4ef21f14d3e76d0e7b27 (patch) | |
| tree | 446aec1c7fd9afe2fec3ebc9d585cfc7dff57517 /compiler/rustc_codegen_gcc/example/std_example.rs | |
| parent | 325e9fd339b4a10e46c4bfe9baa5294e55fa9388 (diff) | |
| parent | e1b287c3a651f247d47d331a8ac02f14222f8d55 (diff) | |
| download | rust-cdc4d56ae7707753e24b4ef21f14d3e76d0e7b27.tar.gz rust-cdc4d56ae7707753e24b4ef21f14d3e76d0e7b27.zip | |
Auto merge of #11701 - Alexendoo:vec-init-then-push-docs, r=Jarcho
Use multiple pushes in `vec_init_then_push` example Makes the perf argument clearer, since a single push doesn't have unnecessary allocations compared to `vec![x]` changelog: none
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions
