use rustc_span::sym;
declare_clippy_lint! {
- /// **What it does:** Checks for manual re-implementations of `PartialEq::ne`.
+ /// ### What it does
+ /// Checks for manual re-implementations of `PartialEq::ne`.
///
- /// **Why is this bad?** `PartialEq::ne` is required to always return the
+ /// ### Why is this bad?
+ /// `PartialEq::ne` is required to always return the
/// negated result of `PartialEq::eq`, which is exactly what the default
/// implementation does. Therefore, there should never be any need to
/// re-implement it.
///
- /// **Known problems:** None.
- ///
- /// **Example:**
+ /// ### Example
/// ```rust
/// struct Foo;
///