diff --git a/clippy.toml b/clippy.toml index f4789c9d0303..1c0808612067 100644 --- a/clippy.toml +++ b/clippy.toml @@ -1,5 +1,5 @@ avoid-breaking-exported-api = false - +collapse-let-chains = true lint-inconsistent-struct-field-initializers = true [[disallowed-methods]] diff --git a/tests/clippy.toml b/tests/clippy.toml index 5eb7ac035419..b667c660b4a6 100644 --- a/tests/clippy.toml +++ b/tests/clippy.toml @@ -1 +1,2 @@ # default config for tests, overrides clippy.toml at the project root +collapse-let-chains = false