diff --git a/clippy_lints/src/doc/mod.rs b/clippy_lints/src/doc/mod.rs index 4a253e9fd..639179a07 100644 --- a/clippy_lints/src/doc/mod.rs +++ b/clippy_lints/src/doc/mod.rs @@ -345,14 +345,14 @@ declare_clippy_lint! { /// ### Why is this bad? /// It is unlikely that there is any reason to have empty documentation for an item /// ### Example - /// ```rs + /// ```no_run /// /// /// fn returns_true() -> bool { /// true /// } /// ``` /// Use instead: - /// ```rs + /// ```no_run /// fn returns_true() -> bool { /// true /// }