Skip to content

Commit 4d1962c

Browse files
authored
Move cognitive_complexity lint from nursery to restriction (#15415)
changelog: [`cognitive_complexity`]: move the lint from `nursery` to the `restriction` r? @flip1995
2 parents b98252f + cdee4f8 commit 4d1962c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/cognitive_complexity.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ declare_clippy_lint! {
3535
/// * [`too_many_lines`](https://rust-lang.github.io/rust-clippy/master/index.html#too_many_lines)
3636
#[clippy::version = "1.35.0"]
3737
pub COGNITIVE_COMPLEXITY,
38-
nursery,
38+
restriction,
3939
"functions that should be split up into multiple functions",
4040
@eval_always = true
4141
}

0 commit comments

Comments
 (0)