vec1 icon indicating copy to clipboard operation
vec1 copied to clipboard

Feature request: Add split_first

Open ndmitchell opened this issue 9 months ago • 0 comments

The underlying slice has:

pub fn split_first(&self) -> Option<(&T, &[T])>

But for Vec1 the Option is always Some. Could we get a dedicated split_first on the Vec1.

ndmitchell avatar Apr 09 '25 15:04 ndmitchell