Skip to content

ManuallyDrop layout guarantees? #302

Closed
@joshlf

Description

@joshlf

The docs for ManuallyDrop state:

ManuallyDrop<T> is subject to the same layout optimizations as T.

This hints, but does not explicitly guarantee, that ManuallyDrop<T> has the same layout as T. Do we want to guarantee that?

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