Skip to content

Commit 97e4c57

Browse files
committed
fix lint doc
1 parent ee0cbea commit 97e4c57

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

clippy_lints/src/doc/mod.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,13 +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-
/// ```rust
348+
/// ```rs
349349
/// ///
350350
/// fn returns_true() -> bool {
351351
/// true
352352
/// }
353+
/// ```
353354
/// Use instead:
354-
/// ```rust
355+
/// ```rs
355356
/// fn returns_true() -> bool {
356357
/// true
357358
/// }

0 commit comments

Comments
 (0)