Closed BrianHicks closed 2 years ago
Hmm, I'm not sure I follow?
I think HashMap has only with_hasher
method to created map with custom hasher?
Well, in any case I added Default and published it as 0.8.6
Thank you!
To clarify, I’m talking about the or_default call that creates the set, not the call that creates the dict. This will make life easier, though, so thanks!
I have a program that, simplified, that looks something like this:
I realized I could use
HashSet<String, Xxh3Builder>
in the values here, but the code fails to compile, sinceXxh3Builder
does not implementDefault
. Would that be desirable?(Of course this is not too hard to fix in my code, but it'd also be nice to not have to!)