Skip to content

Rename Alloc to AllocRef #8

Closed
Closed
@TimDiekmann

Description

@TimDiekmann

@SimonSapin suggested to rename Alloc to AllocHandle in rust-lang/rust#58457 (comment):

we might want to add Handle to the trait names [...] in order to show that they are typically implemented for a reference or smart pointer or ZST, not directly for the type that actually holds the allocator’s state.

This would also apply to #9 and rename Dealloc to DeallocHandle.

Edit: Rename AllocHandle to AllocRef as stated in #8 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions