Open leo60228 opened 2 years ago
This seems like a logical extension of the existing functionality. Of course, you could manually do the bounds check, but that's error-prone and in performance-sensitive applications could be concerning.
I'm not against it, but I wonder if you can convince std to put this on vec in nightly
This seems like a logical extension of the existing functionality. Of course, you could manually do the bounds check, but that's error-prone and in performance-sensitive applications could be concerning.