]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/clippy/clippy_lints/src/open_options.rs
Auto merge of #87150 - rusticstuff:simplify_wrapping_neg, r=m-ou-se
[rust.git] / src / tools / clippy / clippy_lints / src / open_options.rs
index fded48038e39fb25a1eecf859bd77efa2d4e6c57..4064d94da2abff2928d59e40f213a1bf93d04988 100644 (file)
@@ -8,15 +8,15 @@
 use rustc_span::source_map::{Span, Spanned};
 
 declare_clippy_lint! {
-    /// **What it does:** Checks for duplicate open options as well as combinations
+    /// ### What it does
+    /// Checks for duplicate open options as well as combinations
     /// that make no sense.
     ///
-    /// **Why is this bad?** In the best case, the code will be harder to read than
+    /// ### Why is this bad?
+    /// In the best case, the code will be harder to read than
     /// necessary. I don't know the worst case.
     ///
-    /// **Known problems:** None.
-    ///
-    /// **Example:**
+    /// ### Example
     /// ```rust
     /// use std::fs::OpenOptions;
     ///