about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-05-24 21:40:15 +0000
committerbors <bors@rust-lang.org>2022-05-24 21:40:15 +0000
commitb97784fd07b1981292703fb136cf6e4f7cddc113 (patch)
tree3f0a1a88c178ccb1b08534fb1df2f7a90d1db510 /src/test/codegen/src-hash-algorithm
parent67a089134de7ecad7b8f55af10a6d0c76f9b6146 (diff)
parent855849034c15330f146376ae7073c38cbacb00b2 (diff)
downloadrust-b97784fd07b1981292703fb136cf6e4f7cddc113.tar.gz
rust-b97784fd07b1981292703fb136cf6e4f7cddc113.zip
Auto merge of #8862 - Alexendoo:get-last-with-len, r=Jarcho,xFrednet
`get_last_with_len`: lint `VecDeque` and any deref to slice

changelog: [`get_last_with_len`]: lint `VecDeque` and any deref to slice

Previously only `Vec`s were linted, this will now catch any usages on slices, arrays, etc. It also suggests `.back()` for `VecDeque`s

Also moves the lint into `methods/`
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions