Combine logic between put and get_or_insert
Combine logic between put and get_or_insert

Combines the logic for node replacement or creation that is shared between the `put` and `get_or_insert` methods.

jeromefroe/lru-rs