Description
https://doc.rust-lang.org/std/slice/trait.SliceIndex.html#impl-SliceIndex%3Cstr%3E mentions "Panics [...] if begin > end, or if end > len", which I think is correct.
However, https://doc.rust-lang.org/std/slice/trait.SliceIndex.html#impl-SliceIndex%3Cstr%3E-1 mentions "Panics [...] if begin >= len", which I think is wrong, isn't it?
Shouldn't this be "Panics [...] if begin > len"?
The current stable compiler doesn't seem to create a panicking program when I use "begin = len".
The documentation for slice slicing doesn't mention anything at all: https://doc.rust-lang.org/std/slice/trait.SliceIndex.html#impl-SliceIndex%3C%5BT%5D%3E-2.
It would be great to have the (correct) description there as well.
I think this has already been fixed in #32099 and #32183 (more than 4 years ago), but it seems to have gotten lost again since then?
Or am I missing something?