- Feature Name: impl_else
- Start Date: 5/16/2016
- RFC PR: (leave this empty)
- Rust Issue: (leave this empty)
Allow multiple conflicting impls via the else keyword.
| #![feature(collections_range)] | |
| use std::ops::{Bound, Range, RangeBounds}; | |
| use std::ptr; | |
| use std::mem; | |
| /// An extracting iterator for `Vec<T>`. | |
| struct ExtractImpl<'a, T: 'a, F: FnMut(&mut T) -> bool> { | |
| /// Current remaining range to remove | |
| iter: Range<usize>, |