rust-clippy/clippy_lints
bors ef95be517c Auto merge of #11609 - y21:get_first_non_primitives, r=giraffate
[`get_first`]: lint on non-primitive slices

Fixes #11594

I left the issue open for a couple days before making the PR to see if anyone has something to say, but it looks like there aren't any objections to removing this check that prevented linting on non-primitive slices, so here's the PR now.
There's a couple of instances in clippy itself where we now emit the lint. The actual relevant change is in the first commit and fixing the `.get(0)` instances in clippy itself is in the 2nd commit.

changelog: [`get_first`]: lint on non-primitive slices
2023-10-15 23:53:22 +00:00
..
src Auto merge of #11609 - y21:get_first_non_primitives, r=giraffate 2023-10-15 23:53:22 +00:00
Cargo.toml Bump Clippy version -> 0.1.75 2023-10-06 17:32:44 +02:00
README.md

This crate contains Clippy lints. For the main crate, check GitHub.