]> git.lizzy.rs Git - rust.git/commit
Optimize unnecessary check in VecDeque::retain
authorXuanwo <github@xuanwo.io>
Mon, 16 Aug 2021 05:37:51 +0000 (13:37 +0800)
committerXuanwo <github@xuanwo.io>
Mon, 16 Aug 2021 05:37:51 +0000 (13:37 +0800)
commitb4b495e48e8f42c22090dfadfe9b9b51317ccf02
tree15912ca404eaa2d805edc7bd5c9286d09829bd3b
parent2bd17c1d43bba43412cc2f051323a279d6751e43
Optimize unnecessary check in VecDeque::retain

Signed-off-by: Xuanwo <github@xuanwo.io>
library/alloc/src/collections/vec_deque/mod.rs
library/alloc/src/collections/vec_deque/tests.rs