lru-rs icon indicating copy to clipboard operation
lru-rs copied to clipboard

Clone is only implemented for the default hasher

Open Fuuzetsu opened this issue 1 year ago • 1 comments

If you have a for example LruCache<K, V, fxhash::FxBuildHasher> then this is no longer Clone. I think this probably just an oversight in Clone impl which is only over LruCache<K, V>.

Fuuzetsu avatar May 21 '24 06:05 Fuuzetsu

@Fuuzetsu you're right, this was just an oversight. I don't think I'll have time to get to it soon, but happy to review any PR's if you're able to take a stab at making the change!

jeromefroe avatar May 23 '24 01:05 jeromefroe