diff options
| author | Alejandra González <blyxyas@gmail.com> | 2025-08-26 13:37:16 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-26 13:37:16 +0000 |
| commit | c4acbce75735f98870a9f6cc818c62471876cc29 (patch) | |
| tree | a5997966a9129e8e24f1210d8902d482baedcbff | |
| parent | 798f754802c1a5ff0b00987591762a5465a74d23 (diff) | |
| parent | a55391ce26fc7582f899975cf8ad2eaf7f6f5f36 (diff) | |
| download | rust-c4acbce75735f98870a9f6cc818c62471876cc29.tar.gz rust-c4acbce75735f98870a9f6cc818c62471876cc29.zip | |
docs(cognitive_complexity): Correct lint group (#15563)
The docs say this lint is included in `nursery`, but it is now in `restriction`. changelog:[`cognitive_complexity`]: Fixed documentation comment to state that the lint is in `restriction`, not `nursery`
| -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) |
