3 ms·
I didn't say it was specific to slices. The inconvenience around array slices is because they have a pointer. The non-pointery aspects of Rust slices are an a
by SamReidHughes 8y ago
I didn't say it was specific to slices. The inconvenience around array slices is because they have a pointer. The non-pointery aspects of Rust slices are an advantage over C++. (E.g. not having pointer arithmetic.)
- steveklabnik 8y agoThe thread started out by saying slicing, specifically. Regardless, no worries, I was just trying to add clarity around details, just in case.