change rs doc to no_run

This commit is contained in:
lucarlig 2024-02-26 07:02:40 +04:00
parent 5152050c5f
commit 93deced553

View file

@ -345,14 +345,14 @@ declare_clippy_lint! {
/// ### Why is this bad? /// ### Why is this bad?
/// It is unlikely that there is any reason to have empty documentation for an item /// It is unlikely that there is any reason to have empty documentation for an item
/// ### Example /// ### Example
/// ```rs /// ```no_run
/// /// /// ///
/// fn returns_true() -> bool { /// fn returns_true() -> bool {
/// true /// true
/// } /// }
/// ``` /// ```
/// Use instead: /// Use instead:
/// ```rs /// ```no_run
/// fn returns_true() -> bool { /// fn returns_true() -> bool {
/// true /// true
/// } /// }