]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/clippy/clippy_lints/src/needless_arbitrary_self_type.rs
Rollup merge of #87547 - GuillaumeGomez:nonnull-examples, r=kennytm
[rust.git] / src / tools / clippy / clippy_lints / src / needless_arbitrary_self_type.rs
index fe3c4455be5e210821463f7628fdcb5dcc950279..9a3d9383cd98c4255292ae72aa12e2a128274d5e 100644 (file)
@@ -9,13 +9,13 @@
 use rustc_span::Span;
 
 declare_clippy_lint! {
-    /// **What it does:** The lint checks for `self` in fn parameters that
+    /// ### What it does
+    /// The lint checks for `self` in fn parameters that
     /// specify the `Self`-type explicitly
-    /// **Why is this bad?** Increases the amount and decreases the readability of code
+    /// ### Why is this bad?
+    /// Increases the amount and decreases the readability of code
     ///
-    /// **Known problems:** None
-    ///
-    /// **Example:**
+    /// ### Example
     /// ```rust
     /// enum ValType {
     ///     I32,