HeapFragment::new_tuple_from_slice does not work with non-immediate types
KronicDeth opened this issue · 0 comments
KronicDeth commented
Types that take more than 1 word don't work with HeapFragment::new_tuple_from_slice
because the layout is calculated based on the length of the slice
... but, HeapFragment::tuple_from_slice
Calls Tuple::from_slice
Which clones the elements recursively to the heap too