Skip to content

Allow using references when dealing with owned key types #71

@uint

Description

@uint

E.g. if we have a map: Map<String, _>, it would be nice to be able to access values using something like self.map.get(&mut storage, "mykey"), without the extra allocation/cloning.

@hashedone originally asked to investigate this.

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