Skip to content

Commit

Permalink
Update clippy_lints/src/casts/mod.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Macleod <[email protected]>
  • Loading branch information
clubby789 and Alexendoo authored Aug 29, 2022
1 parent 30979bf commit cc9f203
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion clippy_lints/src/casts/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cc9f203

Please sign in to comment.