fix lint doc

This commit is contained in:
lucarlig 2024-02-25 17:51:58 +04:00
parent ee0cbeaa77
commit 97e4c57f24

View File

@ -345,13 +345,14 @@
/// ### 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
/// ```rust /// ```rs
/// /// /// ///
/// fn returns_true() -> bool { /// fn returns_true() -> bool {
/// true /// true
/// } /// }
/// ```
/// Use instead: /// Use instead:
/// ```rust /// ```rs
/// fn returns_true() -> bool { /// fn returns_true() -> bool {
/// true /// true
/// } /// }