You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Overlapping iteration can use slice::split_at() instead of the current practice of keeping track of the index. This will allow it to only store the slice, and not have to worry about storing an index.
The text was updated successfully, but these errors were encountered:
Decided to use slice::get_unchecked() instead, as that is what is used internally. The tracking issue for slice::split_at_unchecked() points out that slice::get_unchecked() can easily be used to perform an unchecked split on a slice, and there is question on whether it is even worth it to create a separate method for this purpose.
Overlapping
iteration can useslice::split_at()
instead of the current practice of keeping track of the index. This will allow it to only store the slice, and not have to worry about storing an index.The text was updated successfully, but these errors were encountered: