about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2021-01-15 18:26:11 +0900
committerGitHub <noreply@github.com>2021-01-15 18:26:11 +0900
commit1b8fd02daab85e129f0dda9c92ea11aaa14b7485 (patch)
tree430e8c9eb2d45f681155b91b75cea49a793f9b8f /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent0dedc6c0546c709087ebad1dc1f9d85b183b2f09 (diff)
parent744f885e2a505136203e3e0eef51f72dbe78b511 (diff)
downloadrust-1b8fd02daab85e129f0dda9c92ea11aaa14b7485.tar.gz
rust-1b8fd02daab85e129f0dda9c92ea11aaa14b7485.zip
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.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions