We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ptr::eq
1 parent aa7c42f commit 6edde81Copy full SHA for 6edde81
clippy_lints/src/ptr_eq.rs
@@ -8,7 +8,7 @@ use rustc_session::{declare_lint_pass, declare_tool_lint};
8
declare_clippy_lint! {
9
/// **What it does:** Use `std::ptr::eq` when applicable
10
///
11
- /// **Why is this bad?**`ptr::eq` can be used to compare `&T` references
+ /// **Why is this bad?** `ptr::eq` can be used to compare `&T` references
12
/// (which coerce to `*const T` implicitly) by their address rather than
13
/// comparing the values they point to.
14
0 commit comments