This covers the deque_extras blanket feature, which should probably be sharded more in the future. It covers:
truncate
resize
as_slices
as_mut_slices
swap_back_remove
swap_front_remove
Some notes:
truncate and resize are strange because they aren't directional (they just truncate off the back). Need work.
as_slices and as_mut_slices seem good to go. A bit niche, but so is VecDeque. Maybe move the mut to the end. RFC'd and everything.
swap_back_remove and swap_front_remove also seem good to go. Maybe move the directional specifier to the end. RFC'd and everything.
This covers the
deque_extrasblanket feature, which should probably be sharded more in the future. It covers:truncateresizeas_slicesas_mut_slicesswap_back_removeswap_front_removeSome notes:
truncateandresizeare strange because they aren't directional (they just truncate off the back). Need work.as_slicesandas_mut_slicesseem good to go. A bit niche, but so is VecDeque. Maybe move themutto the end. RFC'd and everything.swap_back_removeandswap_front_removealso seem good to go. Maybe move the directional specifier to the end. RFC'd and everything.