Skip to content

Remove Into<&[u8]> bound from IntoByteSlice? #1260

@joshlf

Description

@joshlf

The Into<&[u8]> bound on IntoByteSlice means that we can't implement IntoByteSlice for &mut [u8]. If instead we used a method directly on IntoByteSlice, we could remove this restriction.

This restriction means, for example, that Ref::into_ref isn't available for Ref<&mut [u8], _>.

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