When inserting into a slot in the middle of the free list, the free pointer was mistakenly not updated.
This was due to Entry::get_empty() cloning data instead of returning a reference, which would've caught this bug. I've updated the method names, added a mutable version, fixed the function, and added a new test.
When inserting into a slot in the middle of the free list, the free pointer was mistakenly not updated.
This was due to
Entry::get_empty()
cloning data instead of returning a reference, which would've caught this bug. I've updated the method names, added a mutable version, fixed the function, and added a new test.