Skip to content

Commit 745d6fb

Browse files
committed
Mention configuration option for too_many_lines lint
1 parent 543858d commit 745d6fb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ All notable changes to this project will be documented in this file.
1313
* New lint: [`assertions_on_constants`] to detect for example `assert!(true)`
1414
* New lint: [`dbg_macro`] to detect uses of the `dbg!` macro
1515
* New lint: [`missing_const_for_fn`] that can suggest functions to be made `const`
16-
* New lint: [`too_many_lines`] to detect functions with excessive LOC
16+
* New lint: [`too_many_lines`] to detect functions with excessive LOC. It can be
17+
configured using the `too-many-lines-threshold` configuration.
1718
* New lint: [`wildcard_enum_match_arm`] to check for wildcard enum matches using `_`
1819
* Expand `redundant_closure` to also work for methods (not only functions)
1920
* Fix ICEs in `vec_box`, `needless_pass_by_value` and `implicit_hasher`

0 commit comments

Comments
 (0)