rust/src/libcollections
Corey Farwell 15bec3dd63 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.
2017-02-10 23:41:36 -05:00
..
benches Extract collections benchmarks to libcollections/benches 2017-02-06 21:38:47 +11:00
btree Update set operations documentation 2017-02-09 14:16:16 -08:00
binary_heap.rs Auto merge of #39002 - GuillaumeGomez:debug_libcollections, r=aturon 2017-02-07 17:28:51 +00:00
borrow.rs run rustfmt on libcollections folder 2016-12-20 09:54:00 +05:30
Cargo.toml Extract collections benchmarks to libcollections/benches 2017-02-06 21:38:47 +11:00
enum_set.rs Auto merge of #39002 - GuillaumeGomez:debug_libcollections, r=aturon 2017-02-07 17:28:51 +00:00
fmt.rs use String::with_capacity in format! 2017-01-28 01:50:05 +01:00
lib.rs Auto merge of #39002 - GuillaumeGomez:debug_libcollections, r=aturon 2017-02-07 17:28:51 +00:00
linked_list.rs Replace PlaceBack Debug implementation with derive 2017-02-05 09:46:15 +01:00
macros.rs Add link to format! docs 2016-09-29 00:02:02 +02:00
range.rs make rangeargument methods non-default; simplify impl 2017-01-14 16:51:51 +00:00
slice.rs Slightly optimize slice::sort 2017-02-04 16:44:43 +01:00
str.rs Auto merge of #39002 - GuillaumeGomez:debug_libcollections, r=aturon 2017-02-07 17:28:51 +00:00
string.rs Auto merge of #39002 - GuillaumeGomez:debug_libcollections, r=aturon 2017-02-07 17:28:51 +00:00
vec.rs Explicitly mention that Vec::reserve is based on len not capacity 2017-02-09 13:58:48 -05:00
vec_deque.rs Auto merge of #39002 - GuillaumeGomez:debug_libcollections, r=aturon 2017-02-07 17:28:51 +00:00