Skip to content

Feature request: Add split_first #37

@ndmitchell

Description

@ndmitchell

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions