From 97e4c57f24d82d2bd938496b4a1af10372714ef7 Mon Sep 17 00:00:00 2001 From: lucarlig Date: Sun, 25 Feb 2024 17:51:58 +0400 Subject: [PATCH] fix lint doc --- clippy_lints/src/doc/mod.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/clippy_lints/src/doc/mod.rs b/clippy_lints/src/doc/mod.rs index 7b085a36ea5..2984c5c1519 100644 --- a/clippy_lints/src/doc/mod.rs +++ b/clippy_lints/src/doc/mod.rs @@ -345,13 +345,14 @@ /// ### Why is this bad? /// It is unlikely that there is any reason to have empty documentation for an item /// ### Example - /// ```rust + /// ```rs /// /// /// fn returns_true() -> bool { /// true /// } + /// ``` /// Use instead: - /// ```rust + /// ```rs /// fn returns_true() -> bool { /// true /// }