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 @@ declare_clippy_lint! {
/// ### 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
/// }