Skip to content

Removing Key bound from struct definition #115

@Stumblinbear

Description

@Stumblinbear

I'm not seeing any real reason for (for example) HopSlotMap to have a Key bound on the generic K. This is against the general Rust style guide as it leads to infectious where clauses, and prevents being generic over it in more permissive GATs without awkward workarounds.

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