]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/clippy/clippy_lints/src/partialeq_ne_impl.rs
Auto merge of #87462 - ibraheemdev:tidy-file-length-ignore-comment, r=Mark-Simulacrum
[rust.git] / src / tools / clippy / clippy_lints / src / partialeq_ne_impl.rs
index 1251ddd9a02733bd55e95c68c03496ed22d3f03b..4ec493e5f45e075f209523d0a7389d0de9eaa234 100644 (file)
@@ -7,16 +7,16 @@
 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;
     ///