Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make key references generic #11

Merged
merged 1 commit into from
Apr 10, 2024
Merged

Make key references generic #11

merged 1 commit into from
Apr 10, 2024

Conversation

mattgathu
Copy link
Owner

What

Make key references generic over the type of the underlying key data.

This will allow using borrowed types such as &str where references of key type e.g String are expected.

See: https://doc.rust-lang.org/std/borrow/trait.Borrow.htmll

What
--
Make key references generic over the type of the underlying key data.

This will allow using borrowed types such as &str where references of
key type e.g String are expected.

See: https://doc.rust-lang.org/std/borrow/trait.Borrow.html
@mattgathu mattgathu merged commit 1836c11 into main Apr 10, 2024
14 checks passed
@mattgathu mattgathu deleted the key-ref branch April 10, 2024 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant