Auto merge of #8789 - fedemartinezdev:master, r=flip1995

Added missing `### What it does`

Adds the missing line to ``[`cast-slice-different-sizes`]`` lint documentation
fixes #8781

changelog: none
This commit is contained in:
bors 2022-05-05 17:11:06 +00:00
commit 0509a96290

View file

@ -413,6 +413,7 @@ declare_clippy_lint! {
}
declare_clippy_lint! {
/// ### What it does
/// Checks for `as` casts between raw pointers to slices with differently sized elements.
///
/// ### Why is this bad?