Skip to content

Commit c4acbce

Browse files
authored
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`
2 parents 798f754 + a55391c commit c4acbce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_lints/src/cognitive_complexity.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ declare_clippy_lint! {
2323
///
2424
/// ### Known problems
2525
/// The true Cognitive Complexity of a method is not something we can
26-
/// calculate using modern technology. This lint has been left in the
27-
/// `nursery` so as to not mislead users into using this lint as a
26+
/// calculate using modern technology. This lint has been left in
27+
/// `restriction` so as to not mislead users into using this lint as a
2828
/// measurement tool.
2929
///
3030
/// For more detailed information, see [rust-clippy#3793](https://github.com/rust-lang/rust-clippy/issues/3793)

0 commit comments

Comments
 (0)