Skip to content

Add a deinitialize method to the Alloc trait #1

@nikomatsakis

Description

@nikomatsakis

@huonw pointed out that types like Vec that peddle in deinitialized memory must have a way to eliminate stray references. The allocator can initialize memory when it is given out initially, but can't handle the case where data was pushed and then popped.

cc @pnkfelix

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions