diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2025-08-05 13:51:21 +0200 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2025-08-05 13:52:58 +0200 |
| commit | cdee4f8e1df4289aca12450f460a2e385b214176 (patch) | |
| tree | 449f4be4c1021fff8074f56fd72f1a35dbf8bc61 | |
| parent | 264bc97b2623f29109e0ecb91d66cdb6c7b10a43 (diff) | |
Move `cognitive_complexity` lint from `nursery` to `restriction`
| -rw-r--r-- | clippy_lints/src/cognitive_complexity.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/cognitive_complexity.rs b/clippy_lints/src/cognitive_complexity.rs index 518535e8c8b..8f1c0296524 100644 --- a/clippy_lints/src/cognitive_complexity.rs +++ b/clippy_lints/src/cognitive_complexity.rs @@ -35,7 +35,7 @@ declare_clippy_lint! { /// * [`too_many_lines`](https://rust-lang.github.io/rust-clippy/master/index.html#too_many_lines) #[clippy::version = "1.35.0"] pub COGNITIVE_COMPLEXITY, - nursery, + restriction, "functions that should be split up into multiple functions", @eval_always = true } |
