Skip to content

docs: clarify PhantomData vs "phantom types" statement #27523

@alevy

Description

@alevy

In the documentation for PhantomData, it states that: "Though they both have scary names, PhantomData and "phantom types" are unrelated."

This seems to not be an accurate description of the relationship between the PhantomData marker and phantom types, the concept. They are related, just not the same thing.

/cc @steveklabnik

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