about summary refs log tree commit diff
diff options
context:
space:
mode:
authorclubby789 <jamie@hill-daniel.co.uk>2022-08-29 15:17:23 +0100
committerGitHub <noreply@github.com>2022-08-29 15:17:23 +0100
commitcc9f2035432135375ae73e3bdfb73e80114b55ea (patch)
tree9d47a48bc44c273a3b3866da4962322089605a01
parent30979bfe8314372051b3a62e88eb0695eedb512d (diff)
downloadrust-cc9f2035432135375ae73e3bdfb73e80114b55ea.tar.gz
rust-cc9f2035432135375ae73e3bdfb73e80114b55ea.zip
Update clippy_lints/src/casts/mod.rs
Co-authored-by: Alex Macleod <alex@macleod.io>
-rw-r--r--clippy_lints/src/casts/mod.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/clippy_lints/src/casts/mod.rs b/clippy_lints/src/casts/mod.rs
index 14659eb3d11..cc5d346b954 100644
--- a/clippy_lints/src/casts/mod.rs
+++ b/clippy_lints/src/casts/mod.rs
@@ -570,7 +570,8 @@ declare_clippy_lint! {
     "borrowing just to cast to a raw pointer"
 }
 declare_clippy_lint! {
-    /// **What it does:** Checks for a raw slice being cast to a slice pointer
+    /// ### What it does
+    /// Checks for a raw slice being cast to a slice pointer
     ///
     /// ### Why is this bad?
     /// This can result in multiple `&mut` references to the same location when only a pointer is