mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
change rs doc to no_run
This commit is contained in:
parent
5152050c5f
commit
93deced553
@ -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 New Issue
Block a user