Skip to content

Commit 93deced

Browse files
committed
change rs doc to no_run
1 parent 5152050 commit 93deced

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_lints/src/doc/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -345,14 +345,14 @@ declare_clippy_lint! {
345345
/// ### Why is this bad?
346346
/// It is unlikely that there is any reason to have empty documentation for an item
347347
/// ### Example
348-
/// ```rs
348+
/// ```no_run
349349
/// ///
350350
/// fn returns_true() -> bool {
351351
/// true
352352
/// }
353353
/// ```
354354
/// Use instead:
355-
/// ```rs
355+
/// ```no_run
356356
/// fn returns_true() -> bool {
357357
/// true
358358
/// }

0 commit comments

Comments
 (0)