rust-lang / hashbrown

Rust port of Google's SwissTable hash map
https://rust-lang.github.io/hashbrown
Apache License 2.0
2.43k stars 288 forks source link

Bug in `RawIter::reflect_toggle_full` #453

Closed JustForFun88 closed 1 year ago

JustForFun88 commented 1 year ago

This method uses comparison of indexes (pointers) through the Bucket::as_ptr function.

This logic only works if T is not zero sized type