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

use Borrow to allow more types in .contains() calls #83

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

djugei
Copy link

@djugei djugei commented Jan 3, 2024

closes #82
some thougts:
this is mainly useful for the hash_proxy so maybe it should just be implemented on that type specifically in addition to the generic Filter::contains()?

the code is very repetative, especially within the classes (x8 x16 x32) but also between. Maybe using generics or one big macro would be an idea?

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.

contains should allow borrowed types
2 participants