Skip to content

Conversation

@duongphuhiep
Copy link
Collaborator

  • not only primitive but any struct can be used for Key, as long as the key type is comparable.
  • no need test for nil key, because passing nil value as key won't compile.

@sonarqubecloud
Copy link

@firasdarwish
Copy link
Owner

this solves a very annoying issue, thank you @duongphuhiep

@firasdarwish firasdarwish merged commit 097fe13 into firasdarwish:main Nov 16, 2024
2 checks passed
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.

2 participants