al8n / stretto

Stretto is a Rust implementation for Dgraph's ristretto (https://github.com/dgraph-io/ristretto). A high performance memory-bound Rust cache.
Apache License 2.0
413 stars 28 forks source link

Add more fallible versions of panicking methods and replacing internal panicking calls #12

Closed sebasmagri closed 2 years ago

sebasmagri commented 2 years ago

There are some unused panicking functions left in the code that internally use the fallible alternative and unwrap. Left them in place since those are pub and didn't want to break any public API.