I reviewed the code once again, It worth mentioning that retain_mut panic and drop handling behavior of smallvec and rust library are different.
It would be nice if for version 2, smallvec start behaving like rust in case of panic.
Originally posted by @fereidani in #443 (comment)
I reviewed the code once again, It worth mentioning that
retain_mutpanic and drop handling behavior of smallvec and rust library are different.It would be nice if for version 2, smallvec start behaving like rust in case of panic.
Originally posted by @fereidani in #443 (comment)