kanidm / concread

Concurrently Readable Data Structures for Rust
Mozilla Public License 2.0
343 stars 15 forks source link

Add ?Sized bounds for range methods #98

Closed Erigara closed 1 year ago

Erigara commented 1 year ago

I've noticed that range method doesn't provide Q: ?Sized bounds in contrast with BTreeMap::range so i added missing type bound.

This bound could be useful for types like T: RangeBounds<dyn Trait>.

Firstyear commented 1 year ago

Thank you @Erigara !