Closed toyboot4e closed 3 years ago
Because Vec::drain_filter
is still unstable, I'm uncertain about adding it to Arena
! I think I'd like to wait for the bikeshedding on the Vec
version to settle down, since it seems like that API is still in flux.
In particular, it seems like it's uncertain what should happen to filtered elements!
I see, thank you <3
Vec::drain_filter is an unstable Rust feature. Alternative to it in
Arena
would be helpful in some cases.Links:
drain_filter