diff options
| author | Corey Farwell <coreyf@rwell.org> | 2017-02-10 23:41:36 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-02-10 23:41:36 -0500 |
| commit | 15bec3dd637d03995d8b47859b691b81c7d5c2dc (patch) | |
| tree | f9d971ee78bd175834546ce9d896840ff5c390c6 /src/rustllvm/RustWrapper.cpp | |
| parent | 92cf7aecb4c1e45c9b09620e09598a8cd5bb4837 (diff) | |
| parent | b3937ea862e15321e85537ac6bd63ad51099c23f (diff) | |
| download | rust-15bec3dd637d03995d8b47859b691b81c7d5c2dc.tar.gz rust-15bec3dd637d03995d8b47859b691b81c7d5c2dc.zip | |
Rollup merge of #39701 - sgrif:sg-vec-reserve-docs, r=alexcrichton
Explicitly mention that `Vec::reserve` is based on len not capacity I spent a good chunk of time tracking down a buffer overrun bug that resulted from me mistakenly thinking that `reserve` was based on the current capacity not the current length. It would be helpful if this were called out explicitly in the docs.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
