Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Slice<T>::iterator
to be contiguous
and random_access
`rust::Vec` fails `std::ranges::contiguous_range` checks as those have to satisfy `random_access_range`, and `contiguous_iterator`. This has caused mismatches with certain `span` types in other codebases. This PR adds the necessary increment and concept category to `Slice<T>::iterator`, to correct this issue. Bug: dtolnay#1392
- Loading branch information