diff options
| author | Daniel Szoke <7881302+szokeasaurusrex@users.noreply.github.com> | 2025-08-26 14:22:16 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-26 14:22:16 +0200 |
| commit | a55391ce26fc7582f899975cf8ad2eaf7f6f5f36 (patch) | |
| tree | a5997966a9129e8e24f1210d8902d482baedcbff | |
| parent | 798f754802c1a5ff0b00987591762a5465a74d23 (diff) | |
| download | rust-a55391ce26fc7582f899975cf8ad2eaf7f6f5f36.tar.gz rust-a55391ce26fc7582f899975cf8ad2eaf7f6f5f36.zip | |
docs(cognitive_complexity): Correct lint group
The docs say this lint is included in `nursery`, but it is now in `restriction`.
| -rw-r--r-- | clippy_lints/src/cognitive_complexity.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clippy_lints/src/cognitive_complexity.rs b/clippy_lints/src/cognitive_complexity.rs index 8f95c63a854..7646aa48b77 100644 --- a/clippy_lints/src/cognitive_complexity.rs +++ b/clippy_lints/src/cognitive_complexity.rs @@ -23,8 +23,8 @@ declare_clippy_lint! { /// /// ### Known problems /// The true Cognitive Complexity of a method is not something we can - /// calculate using modern technology. This lint has been left in the - /// `nursery` so as to not mislead users into using this lint as a + /// calculate using modern technology. This lint has been left in + /// `restriction` so as to not mislead users into using this lint as a /// measurement tool. /// /// For more detailed information, see [rust-clippy#3793](https://github.com/rust-lang/rust-clippy/issues/3793) |
