jaemk / cached

Rust cache structures and easy function memoization
MIT License
1.58k stars 96 forks source link

feat(cache_get_mut): Allow mutable access to values in cache. #28

Closed mfornet closed 4 years ago

mfornet commented 4 years ago

Add cache_get_mut to the Cached trait. It works similar to cache_get but provides mutable access to the retrieved value instead.

jaemk commented 4 years ago

thanks!

jaemk commented 4 years ago

released in 0.12.0

mfornet commented 4 years ago

thank you 👍