Skip to content

Don’t rely on Vec’s addresses being stable #2

Open
@SabrinaJewson

Description

@SabrinaJewson

Currently this crate relies on references given out by Vec being stable, i.e. not invalidated by a &mut Vec<T>. However, this is not guaranteed to be the case and will in fact change if this rust-lang/rust PR is merged. Instead, this crate should use AliasableVec or its own pointer type so that it won’t be broken by this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions