Files
rust/src/liballoc
Mazdak Farrokhzad 64f83915de Rollup merge of #67300 - aloucks:issue-65970, r=rkruppe
Restore original implementation of Vec::retain

This PR reverts #48065, which aimed to optimize `Vec::retain` by making use of `Vec::drain_filter`. Unfortunately at that time, `drain_filter` was unsound.

The soundness hole in `Vec::drain_filter` was fixed in #61224 by guaranteeing that cleanup logic runs via a nested `Drop`, even in the event of a panic. Implementing this nested drop affects codegen (apparently?) and results in slower code.

Fixes #65970
2019-12-15 05:57:27 +01:00
..
2019-11-29 20:25:07 -08:00
2019-11-29 20:25:07 -08:00
2019-11-29 20:25:07 -08:00
2019-09-25 08:42:46 -04:00
2019-12-11 21:01:33 +01:00
2019-08-04 14:50:26 +02:00
2019-11-29 20:25:07 -08:00
2019-09-27 17:36:45 -04:00
2019-09-16 16:45:16 +02:00
2019-11-29 20:25:07 -08:00
2019-11-29 20:25:07 -08:00