Skip to content

Should Allocation really implement Clone? #97

@danielkeller

Description

@danielkeller

I'm pretty sure that the implementation of Clone for Allocation is unsafe, because you can clone it and call mapped_slice_mut on both, getting two &muts that alias.

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