Filter_take function pre-RFC

This was recently added to Vec with the name drain_filter. It’s currently unstable. I don’t think it’s been implemented for other standard collection types, yet. See also this previous thread.

1 Like