Skip to content

Cow::clone should do shallow copies? #34284

@brson

Description

@brson

In a recent PR it was pointed out that cloning a Cow shouldn't ever need to allocate - the cloned Cow could borrow a pointer to the original.

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions