Tracking issue for map_first_last: first/last methods on BTreeSet and BTreeMap · Issue #62924 · rust-lang/rust
View all comments Feature gate: #![feature(map_first_last)] Public API impl<T> BTreeSet<T> { pub fn first(&self) -> Option<&T> where T: Ord; pub fn last(&self) -> Option<&T> where T: Ord; pub fn po...
GitHub