We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d44ea7c + d1957b8 commit 9011c4dCopy full SHA for 9011c4d
clippy_lints/src/excessive_nesting.rs
@@ -24,8 +24,8 @@ declare_clippy_lint! {
24
/// # clippy.toml
25
/// excessive-nesting-threshold = 3
26
/// ```
27
- /// lib.rs:
28
/// ```rust,ignore
+ /// // lib.rs
29
/// pub mod a {
30
/// pub struct X;
31
/// impl X {
@@ -36,9 +36,10 @@ declare_clippy_lint! {
36
/// }
37
38
39
+ /// ```
40
/// Use instead:
- /// a.rs:
41
42
+ /// // a.rs
43
/// fn private_run(x: &X) {
44
/// if true {
45
/// // etc...
@@ -52,8 +53,8 @@ declare_clippy_lint! {
52
53
54
55
56
57
58
/// pub mod a;
59
60
#[clippy::version = "1.70.0"]
0 commit comments