mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 05:33:27 +00:00
change rs doc to no_run
This commit is contained in:
parent
5152050c5f
commit
93deced553
1 changed files with 2 additions and 2 deletions
|
@ -345,14 +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
|
||||
/// ```rs
|
||||
/// ```no_run
|
||||
/// ///
|
||||
/// fn returns_true() -> bool {
|
||||
/// true
|
||||
/// }
|
||||
/// ```
|
||||
/// Use instead:
|
||||
/// ```rs
|
||||
/// ```no_run
|
||||
/// fn returns_true() -> bool {
|
||||
/// true
|
||||
/// }
|
||||
|
|
Loading…
Reference in a new issue