Added missing ### What it does

Adds the missing line to cast-slice-different-sizes lint documentation
/closes 8781
This commit is contained in:
Federico Martinez 2022-05-05 18:50:34 +02:00
parent 7c21f91b15
commit 6881a5a970

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?