Skip to content

Alloc methods should take layout by reference #48458

Closed
@joshlf

Description

@joshlf

Currently, the methods of the Alloc trait that take a Layout take it by value. This is unnecessary, and makes clippy unhappy. Instead, they should take their Layout arguments by reference.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-allocatorsArea: Custom and system allocatorsT-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