Skip to content

Commit 6423a2e

Browse files
committed
Update lint_configuration.md
1 parent b85b99e commit 6423a2e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

book/src/lint_configuration.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,16 @@ The maximum cognitive complexity a function can have
158158
* [`cognitive_complexity`](https://rust-lang.github.io/rust-clippy/master/index.html#cognitive_complexity)
159159

160160

161+
## `excessive-nesting-threshold`
162+
The maximum amount of nesting a block can reside in
163+
164+
**Default Value:** `10` (`u64`)
165+
166+
---
167+
**Affected lints:**
168+
* [`excessive_nesting`](https://rust-lang.github.io/rust-clippy/master/index.html#excessive_nesting)
169+
170+
161171
## `disallowed-names`
162172
The list of disallowed names to lint about. NB: `bar` is not here since it has legitimate uses. The value
163173
`".."` can be used as part of the list to indicate, that the configured values should be appended to the

0 commit comments

Comments
 (0)