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?
|
/// ### 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
|
||||||
/// ```rs
|
/// ```no_run
|
||||||
/// ///
|
/// ///
|
||||||
/// fn returns_true() -> bool {
|
/// fn returns_true() -> bool {
|
||||||
/// true
|
/// true
|
||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
/// Use instead:
|
/// Use instead:
|
||||||
/// ```rs
|
/// ```no_run
|
||||||
/// fn returns_true() -> bool {
|
/// fn returns_true() -> bool {
|
||||||
/// true
|
/// true
|
||||||
/// }
|
/// }
|
||||||
|
|
Loading…
Reference in a new issue