Skip to content

StrSlice should implement ImmutableSlice #16899

Closed
@nwin

Description

@nwin

Although these traits share a lot of common functionality they are totally separated such that additional functionality that could be shared between them has to be implemented twice.

An example is the “eager”-slicing as discussed on reddit. It would be convenient both for &str and &[T] (given it makes sense to slice strings anyway).

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