beling / bsuccinct-rs

Rust libraries and programs focused on succinct data structures
Apache License 2.0
126 stars 10 forks source link

Remove sized requirement from Function::get_stats #1

Closed kore-signet closed 1 year ago

kore-signet commented 1 year ago

Hi!

This is a small patch that removes the implicit Sized requirement from Function::get_stats and GOFunction::get_stats (as well as their get equivalents).

As far as I can tell, this shouldn't have any negative impact on their functioning, and makes them more suited to being used in maps (which will often be indexed by the unsized str).

Thank you for the attention!

beling commented 1 year ago

Thank you for the patch.