Skip to content

Avoiding the orphan rule with an associated type #412

@tkaitchuck

Description

@tkaitchuck

As mentioned here https://www.reddit.com/r/rust/comments/1efgisu/trait_definitions_to_avoid_orphan_rule/

It is possible to allow users to avoid the orphan rule when applied to one of your traits by adding an unused associated type.

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