Skip to content

make ArrayExt public? #113

@birkenfeld

Description

@birkenfeld

In a library, I need to be generic over arrays, and since I'm anyway depending on arrayvec I thought it would make sense to use the Array trait for that.

However, the useful as_slice method is hidden in the extension trait that's not public. Since it's unsafe, it would make sense not to have to duplicate it. Is there a reason not to put that method on Array or make the extension trait public?

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