Files
rust/library/alloc/src
Yuki Okushi 1b8fd02daa Rollup merge of #80834 - bugadani:vecdeque, r=oli-obk
Remove unreachable panics from VecDeque::{front/back}[_mut]

`VecDeque`'s `front`, `front_mut`, `back` and `back_mut` methods are implemented in terms of the index operator, which causes these functions to contain [unreachable panic calls](https://rust.godbolt.org/z/MTnq1o).

This PR reimplements these methods in terms of `get[_mut]` instead.
2021-01-15 18:26:11 +09:00
..
2020-07-27 19:51:13 -05:00
2020-11-07 12:50:57 -08:00
2021-01-01 19:57:10 +01:00
2020-12-11 10:09:40 -05:00
2021-01-12 12:24:28 -08:00
2020-07-27 19:51:13 -05:00