Remove Slice in trait Iterator
Fullstop000 opened this issue · 0 comments
Fullstop000 commented
Current Iterator trait returns owned Slice from key()
and value()
, which is really unsafe.
Use lifetime bounded &'a [u8]
instead.
This is part of #24