fix lint doc
This commit is contained in:
parent
ee0cbeaa77
commit
97e4c57f24
@ -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
|
||||||
/// }
|
/// }
|
||||||
|
Loading…
Reference in New Issue
Block a user