mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-17 13:35:51 +00:00
Panic when advance_slices()'ing too far and update docs. This updates advance_slices() to panic when advancing too far, like advance() already does. And updates the docs to say so. See https://github.com/rust-lang/rust/issues/62726#issuecomment-1065253213