Skip to content

Commit cc9f203

Browse files
clubby789Alexendoo
andauthored
Update clippy_lints/src/casts/mod.rs
Co-authored-by: Alex Macleod <alex@macleod.io>
1 parent 30979bf commit cc9f203

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clippy_lints/src/casts/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,8 @@ declare_clippy_lint! {
570570
"borrowing just to cast to a raw pointer"
571571
}
572572
declare_clippy_lint! {
573-
/// **What it does:** Checks for a raw slice being cast to a slice pointer
573+
/// ### What it does
574+
/// Checks for a raw slice being cast to a slice pointer
574575
///
575576
/// ### Why is this bad?
576577
/// This can result in multiple `&mut` references to the same location when only a pointer is

0 commit comments

Comments
 (0)