aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass/vec-append.rs
diff options
context:
space:
mode:
authorRoy Frostig <[email protected]>2010-09-03 16:18:32 -0700
committerRoy Frostig <[email protected]>2010-09-03 16:18:32 -0700
commit4e355aebf7c0987c3d6f66ca0013e7023aa501dd (patch)
treea1d1490532468b04d76f06a0e3351f869427de48 /src/test/run-pass/vec-append.rs
parentAssert to insure that the worst-case glue-call arg count is not exceeded unle... (diff)
downloadrust-4e355aebf7c0987c3d6f66ca0013e7023aa501dd.tar.xz
rust-4e355aebf7c0987c3d6f66ca0013e7023aa501dd.zip
When vec growth results in a newly allocated (extended) buffer, copy existing elements over via element-wise copy, not flat memcpy. Introduce new vec growth glue to achieve this.
Diffstat (limited to 'src/test/run-pass/vec-append.rs')
0 files changed, 0 insertions, 0 deletions