]> git.lizzy.rs Git - rust.git/blobdiff - clippy_lints/src/items_after_statements.rs
Auto merge of #9148 - arieluy:then_some_unwrap_or, r=Jarcho
[rust.git] / clippy_lints / src / items_after_statements.rs
index cdefe627efdaad877d2c95150a8ddc6ad036f984..46d439b4497e1444d2dcf12b331fa7b197cbefb2 100644 (file)
@@ -17,7 +17,6 @@
     ///
     /// ### Example
     /// ```rust
-    /// // Bad
     /// fn foo() {
     ///     println!("cake");
     /// }
@@ -31,8 +30,8 @@
     /// }
     /// ```
     ///
+    /// Use instead:
     /// ```rust
-    /// // Good
     /// fn foo() {
     ///     println!("cake");
     /// }