about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2021-02-16 19:21:20 +0100
committerGitHub <noreply@github.com>2021-02-16 19:21:20 +0100
commit46b93b2e44405a3d914eb07dfe33bc39226bfe71 (patch)
treedade0bdd8dac8da7b5b7079e0a5f848732f602c7 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parentcdab137bd44a12da1020444fb75efb37fd77f114 (diff)
parent4390a61b6495765a04819130e3934ec671428bcd (diff)
downloadrust-46b93b2e44405a3d914eb07dfe33bc39226bfe71.tar.gz
rust-46b93b2e44405a3d914eb07dfe33bc39226bfe71.zip
Rollup merge of #82163 - matthiaskrgr:slice, r=jyn514
avoid full-slicing slices

If we already have a slice, there is no need to get another full-range slice from that, just use the original.
clippy::redundant_slicing
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions