Skip to content

impl Clone for Box<str> #27323

Closed
Closed
@bluss

Description

@bluss

Just like Box<[T]>, Clone is also wanted for Box<str>, but that can be much simpler: There is no panic issue, and it can use a simple ptr::copy of the data.

Follow up after #25097

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