Skip to content

Add as_slice and as_mut_slice to smallvec::IntoIter #181

@rklaehn

Description

@rklaehn

SmallVec is mostly a drop in replacement for Vec. There are two methods on std::vec::IntoIter that allow random access on the remainder of the iterator: as_slice and as_mut_slice.

These are missing in SmallVec, but implementing them would be rather easy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions