Skip to content

ptr::NonNull is stable #214

Closed
Closed
@SNCPlay42

Description

@SNCPlay42

In src/vec-layout.md:

Unfortunately the mechanism for stating that your value is non-zero is unstable and unlikely to be stabilized soon. As such we're just going to take the hit and use std's Unique:

std::ptr::NonNull is stable since 1.25, while std::ptr::Unique is still feature-gated and even hidden from documentation. This should be updated to avoid unnecessarily using unstable features.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions