This avoids going through the slice deref, fixing a Miri error. It might be worth porting over the current std::vec implementation, as the current one seems to be old and the error doesn't occur in std::vec anymore. But this is just a quick band-aid fix for this particular error.
This avoids going through the slice deref, fixing a Miri error. It might be worth porting over the current
std::vec
implementation, as the current one seems to be old and the error doesn't occur instd::vec
anymore. But this is just a quick band-aid fix for this particular error.