jaemk / cached

Rust cache structures and easy function memoization
MIT License
1.57k stars 95 forks source link

Remove unnecessary string clones. #223

Closed nihohit closed 2 weeks ago

nihohit commented 2 months ago

The values are copied inside the get function, so the external clone is unnecessary.

jaemk commented 2 weeks ago

thanks @nihohit !