From 745d6fb74be66d2e44457ca345bb34ce0118ef2f Mon Sep 17 00:00:00 2001 From: Philipp Hansch Date: Sat, 13 Apr 2019 11:04:58 +0200 Subject: [PATCH] Mention configuration option for too_many_lines lint --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d5913bd9d3d..d15755d4c5d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,8 @@ All notable changes to this project will be documented in this file. * New lint: [`assertions_on_constants`] to detect for example `assert!(true)` * New lint: [`dbg_macro`] to detect uses of the `dbg!` macro * New lint: [`missing_const_for_fn`] that can suggest functions to be made `const` -* New lint: [`too_many_lines`] to detect functions with excessive LOC +* New lint: [`too_many_lines`] to detect functions with excessive LOC. It can be + configured using the `too-many-lines-threshold` configuration. * New lint: [`wildcard_enum_match_arm`] to check for wildcard enum matches using `_` * Expand `redundant_closure` to also work for methods (not only functions) * Fix ICEs in `vec_box`, `needless_pass_by_value` and `implicit_hasher`