Files
rust/src
bors f71b37bc28 Auto merge of #44802 - sfackler:vecdeque-oob, r=Gankro
Fix capacity comparison in reserve

You can otherwise end up in a situation where you don't actually resize
but still call into handle_cap_increase which then corrupts head/tail.

Closes #44800

Not totally sure the right way to write a test for this - there are some debug asserts the old bad behavior will hit but we don't build the stdlib with debug assertions by default.

r? @Gankro
2017-09-27 01:23:24 +00:00
..
2017-09-24 21:32:27 -07:00
2017-08-16 22:06:05 +02:00
2017-09-24 13:53:10 -07:00
2017-09-24 13:53:11 -07:00
2017-09-02 21:51:18 +02:00
2017-09-25 08:17:37 +02:00
2017-08-27 19:02:24 +09:00
2017-09-21 22:25:02 -04:00
2017-08-31 06:58:58 -07:00