fix lint doc
This commit is contained in:
parent
ee0cbeaa77
commit
97e4c57f24
1 changed files with 3 additions and 2 deletions
|
@ -345,13 +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
|
||||||
/// ```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
|
||||||
/// }
|
/// }
|
||||||
|
|
Loading…
Add table
Reference in a new issue