Unnamed repository; edit this file 'description' to name the repository.
Rollup merge of #157323 - majiayu000:docs-repeat-last-panic, r=jhpratt
Document Repeat::last panic behavior
Fixes rust-lang/rust#149707
Documents that `Repeat::last` always panics because `Repeat` is infinite.
Tests:
- `./x fmt --check`
- `./x doc library/core`
- `./x test library/core`