about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2021-02-16 00:30:06 +0100
committerMatthias Krüger <matthias.krueger@famsik.de>2021-02-16 00:31:11 +0100
commit4390a61b6495765a04819130e3934ec671428bcd (patch)
treefefce73ac7189d67d0df532cd95f9136a11aca77 /tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff
parentd1206f950ffb76c76e1b74a19ae33c2b7d949454 (diff)
downloadrust-4390a61b6495765a04819130e3934ec671428bcd.tar.gz
rust-4390a61b6495765a04819130e3934ec671428bcd.zip
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 'tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions