]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #70795 - Amanieu:btree_remove_tracking, r=Mark-Simulacrum
authorDylan DPC <dylan.dpc@gmail.com>
Sun, 5 Apr 2020 16:47:47 +0000 (18:47 +0200)
committerGitHub <noreply@github.com>
Sun, 5 Apr 2020 16:47:47 +0000 (18:47 +0200)
Keep track of position when deleting from a BTreeMap

This improves the performance of drain_filter and is needed for future Cursor support for BTreeMap.

cc @ssomers
r? @Mark-Simulacrum

1  2 
src/liballoc/collections/btree/map.rs

Simple merge