Skip to content

Error when using SmallUid as key in Rust Hashmaps #4

@smurfer

Description

@smurfer

In Rust (rustc 1.87.0), I am getting the following compiler error when inserting or getting hashmap entries with an instance of SmallUid as a key:

the trait Hash is not implemented for small_uid::SmallUid

This happens with hashbrown::HashMap as well as std::collections::HashMap. Can this be? What am I missing?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions