rust/clippy_lints
bors 7f4599a848 Auto merge of #6557 - rail-rain:extending_cast_ptr_alignment, r=phansch
Catch `pointer::cast` too in `cast_ptr_alignment`

Fixes #4708

Although there were some discussion in the issue, this PR implements the original feature. I think `cast_ptr_alignment` should exist as it is, separated from `ptr_as_ptr`.

---

changelog: Extend `cast_ptr_alignment` lint for the `pointer::cast` method
2021-01-11 22:03:46 +00:00
..
src Auto merge of #6557 - rail-rain:extending_cast_ptr_alignment, r=phansch 2021-01-11 22:03:46 +00:00
Cargo.toml Bump Clippy version to 0.1.51 2021-01-02 16:26:10 +01:00
README.md

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