-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Labels
A-Alloc TraitIssues regarding the Alloc traitIssues regarding the Alloc traitProposalfinished-final-comment-periodmerged
Description
@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)
scottjmaddox
Metadata
Metadata
Assignees
Labels
A-Alloc TraitIssues regarding the Alloc traitIssues regarding the Alloc traitProposalfinished-final-comment-periodmerged