]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/clippy/clippy_lints/src/copy_iterator.rs
Rollup merge of #87166 - de-vri-es:show-discriminant-before-overflow, r=jackh726
[rust.git] / src / tools / clippy / clippy_lints / src / copy_iterator.rs
index 35079c6bedc02d10b47311a9737d1087c73bf5c4..c2e9e8b3ab7f39d226f32df4449cfef0190cacbe 100644 (file)
@@ -8,15 +8,15 @@
 use if_chain::if_chain;
 
 declare_clippy_lint! {
-    /// **What it does:** Checks for types that implement `Copy` as well as
+    /// ### What it does
+    /// Checks for types that implement `Copy` as well as
     /// `Iterator`.
     ///
-    /// **Why is this bad?** Implicit copies can be confusing when working with
+    /// ### Why is this bad?
+    /// Implicit copies can be confusing when working with
     /// iterator combinators.
     ///
-    /// **Known problems:** None.
-    ///
-    /// **Example:**
+    /// ### Example
     /// ```rust,ignore
     /// #[derive(Copy, Clone)]
     /// struct Countdown(u8);