Tracking Issue for vec_try_remove (original) (raw)

Feature gate: #![feature(vec_try_remove)]

This is a tracking issue for rust-lang/libs-team#649

Non-panicking version of Vec::remove which returns Option<T>.

Public API

// core::alloc::vec impl Vec { pub fn try_remove(&mut self, index: usize) -> Option; }

Steps / History

(Remember to update the S-tracking-* label when checking boxes.)

Unresolved Questions

  1. https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html