mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
fix lint doc
This commit is contained in:
parent
ee0cbeaa77
commit
97e4c57f24
@ -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
|
||||
/// }
|
||||
|
Loading…
Reference in New Issue
Block a user