We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee0cbea commit 97e4c57Copy full SHA for 97e4c57
clippy_lints/src/doc/mod.rs
@@ -345,13 +345,14 @@ declare_clippy_lint! {
345
/// ### Why is this bad?
346
/// It is unlikely that there is any reason to have empty documentation for an item
347
/// ### Example
348
- /// ```rust
+ /// ```rs
349
/// ///
350
/// fn returns_true() -> bool {
351
/// true
352
/// }
353
+ /// ```
354
/// Use instead:
355
356
357
358
0 commit comments