Closed gz closed 1 year ago
slice_insert will access elements out-of-bounds, which results in an assertion violation with newer rustc versions as it's undefined behavior. The fix uses pointer arithmetic to write the element.
slice_insert
slice_insert
will access elements out-of-bounds, which results in an assertion violation with newer rustc versions as it's undefined behavior. The fix uses pointer arithmetic to write the element.