lru-rs
lru-rs copied to clipboard
Clone is only implemented for the default hasher
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 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!