diff options
| author | Andrew Poelstra <apoelstra@wpsoftware.net> | 2014-06-30 13:05:05 -0700 |
|---|---|---|
| committer | Andrew Poelstra <apoelstra@wpsoftware.net> | 2014-07-02 12:36:02 -0700 |
| commit | 7a7ae993ce694bf75a11632b394916e055a4d8ec (patch) | |
| tree | d98130c7d7839d812ba7e9af82d9ef3048e598a3 /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | a698b81ebfe02a614f9b41e68c6b604597a81229 (diff) | |
| download | rust-7a7ae993ce694bf75a11632b394916e055a4d8ec.tar.gz rust-7a7ae993ce694bf75a11632b394916e055a4d8ec.zip | |
collections::bitv: correct use of Vec<T>::grow
The argument passed to Vec::grow is the number of elements to grow the vector by, not the target number of elements. The old `Bitv` code did the wrong thing, allocating more memory than it needed to.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
