]> git.lizzy.rs Git - rust.git/commit
auto merge of #17870 : thestinger/rust/alloc, r=eddyb
authorbors <bors@rust-lang.org>
Thu, 9 Oct 2014 10:57:25 +0000 (10:57 +0000)
committerbors <bors@rust-lang.org>
Thu, 9 Oct 2014 10:57:25 +0000 (10:57 +0000)
commite6cfb56a5cee28b08ae9d2dcbb2552497ce922c1
treedf2b290dd8ef76719edfe6fd7f7c1d9dff5c2d26
parent1b46b007d7d1acbbfb59c7e0f1307e6a378ab584
parent1c6fd76f8073a420a82d85c45ea1697fb94d214b
auto merge of #17870 : thestinger/rust/alloc, r=eddyb

Using reallocate(old_ptr, old_size, new_size, align) makes a lot more
sense than reallocate(old_ptr, new_size, align, old_size) and matches up
with the order used by existing platform APIs like mremap.

Closes #17837

[breaking-change]
src/libcollections/vec.rs